Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TablesFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007513/0.0007513, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8662/0.8662, allocations: 177.2 MB / 200.2 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009581/0.0009581, allocations: 152.6 kB / 256.7 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02199/0.02199, allocations: 6.66 MB / 319.8 MB, free: 26.76 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 446.6 MB, free: 37.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.494e-05, allocations: 2.281 kB / 446.7 MB, free: 37.13 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.001912/0.001927, allocations: 2.12 MB / 448.8 MB, free: 34.99 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.003258, allocations: 1.753 MB / 450.5 MB, free: 33.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.003364, allocations: 7.938 kB / 450.5 MB, free: 33.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.003655, allocations: 103.5 kB / 450.6 MB, free: 33.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.004, allocations: 163.1 kB / 450.8 MB, free: 32.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.0042, allocations: 99.56 kB / 450.9 MB, free: 32.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.004398, allocations: 235 kB / 451.1 MB, free: 32.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.004514, allocations: 33.8 kB / 451.2 MB, free: 32.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.00462, allocations: 135.6 kB / 451.3 MB, free: 32.47 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.004769, allocations: 103.7 kB / 451.4 MB, free: 32.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.00479, allocations: 12 kB / 451.4 MB, free: 32.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.004925, allocations: 111.8 kB / 451.5 MB, free: 32.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.499e-05/0.00498, allocations: 55.7 kB / 451.6 MB, free: 32.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.005028, allocations: 67.83 kB / 451.6 MB, free: 32.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.005297, allocations: 299 kB / 451.9 MB, free: 31.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005299, allocations: 0 / 451.9 MB, free: 31.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.0053, allocations: 0 / 451.9 MB, free: 31.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.005304, allocations: 0 / 451.9 MB, free: 31.83 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004814/0.005785, allocations: 468.9 kB / 452.4 MB, free: 31.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.005816, allocations: 8.031 kB / 452.4 MB, free: 31.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.005864, allocations: 32.73 kB / 452.4 MB, free: 31.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.006054, allocations: 193.3 kB / 452.6 MB, free: 31.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.006069, allocations: 12.61 kB / 452.6 MB, free: 31.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.006089, allocations: 12.33 kB / 452.6 MB, free: 31.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.006286, allocations: 199.5 kB / 452.8 MB, free: 30.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.006295, allocations: 3.938 kB / 452.8 MB, free: 30.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.006309, allocations: 11.98 kB / 452.8 MB, free: 30.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.006314, allocations: 0 / 452.8 MB, free: 30.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.376e-05/0.006407, allocations: 72.67 kB / 452.9 MB, free: 30.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.006851, allocations: 474.4 kB / 453.4 MB, free: 30.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.007091, allocations: 102.7 kB / 453.5 MB, free: 30.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.00714, allocations: 32.84 kB / 453.5 MB, free: 30.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.007154, allocations: 0 / 453.5 MB, free: 30.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.007273, allocations: 138.7 kB / 453.6 MB, free: 29.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.007274, allocations: 0 / 453.6 MB, free: 29.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.000224/0.007498, allocations: 145.5 kB / 453.8 MB, free: 29.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.007522, allocations: 102.8 kB / 453.9 MB, free: 29.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.007669, allocations: 280.5 kB / 454.2 MB, free: 29.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.007677, allocations: 25.7 kB / 454.2 MB, free: 29.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.007726, allocations: 152.2 kB / 454.3 MB, free: 29.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.007742, allocations: 27.75 kB / 454.4 MB, free: 29.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.007775, allocations: 37.64 kB / 454.4 MB, free: 29.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.001e-05/0.007805, allocations: 330.8 kB / 454.7 MB, free: 28.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.007844, allocations: 27.98 kB / 454.7 MB, free: 28.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.061e-05/0.007895, allocations: 136.4 kB / 454.9 MB, free: 28.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.416e-05/0.007979, allocations: 99.27 kB / 455 MB, free: 28.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.007981, allocations: 0 / 455 MB, free: 28.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001409/0.008122, allocations: 145.4 kB / 455.1 MB, free: 28.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.008133, allocations: 6.969 kB / 455.1 MB, free: 28.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.008138, allocations: 0 / 455.1 MB, free: 28.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.008149, allocations: 4 kB / 455.1 MB, free: 28.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.008212, allocations: 31.92 kB / 455.2 MB, free: 28.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.008217, allocations: 0 / 455.2 MB, free: 28.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.008267, allocations: 12.09 kB / 455.2 MB, free: 28.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.008273, allocations: 4 kB / 455.2 MB, free: 28.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.table.nextTimeEvent,$whenCondition1,table.nextTimeEventScaled,$PRE.table.nextTimeEventScaled,table.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.07e-05/0.008334, allocations: 137.8 kB / 455.3 MB, free: 28.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.00835, allocations: 23.8 kB / 455.3 MB, free: 28.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.008497, allocations: 143 kB / 455.5 MB, free: 27.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.0085, allocations: 4 kB / 455.5 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.008503, allocations: 0 / 455.5 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.008506, allocations: 0 / 455.5 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.752e-05/0.008594, allocations: 173.2 kB / 455.6 MB, free: 27.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008595, allocations: 4 kB / 455.7 MB, free: 27.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.008646, allocations: 15.98 kB / 455.7 MB, free: 27.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.008648, allocations: 0 / 455.7 MB, free: 27.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.008656, allocations: 7.938 kB / 455.7 MB, free: 27.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.008658, allocations: 0 / 455.7 MB, free: 27.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008658, allocations: 0 / 455.7 MB, free: 27.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.008841, allocations: 200.8 kB / 455.9 MB, free: 27.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.008858, allocations: 11.94 kB / 455.9 MB, free: 27.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.008875, allocations: 15.92 kB / 455.9 MB, free: 27.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.008912, allocations: 4 kB / 455.9 MB, free: 27.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.008938, allocations: 12.05 kB / 455.9 MB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.00895, allocations: 11.98 kB / 455.9 MB, free: 27.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.009051, allocations: 209.6 kB / 456.1 MB, free: 27.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009051, allocations: 0 / 456.1 MB, free: 27.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.009238, allocations: 67.75 kB / 456.2 MB, free: 27.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEvent,table.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007231/0.009962, allocations: 0.533 MB / 456.7 MB, free: 26.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.01011, allocations: 83.83 kB / 456.8 MB, free: 26.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01011, allocations: 0 / 456.8 MB, free: 26.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/0.01016, allocations: 40.11 kB / 456.8 MB, free: 26.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.01034, allocations: 44.12 kB / 456.9 MB, free: 26.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.01081, allocations: 439.8 kB / 457.3 MB, free: 26.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.259e-05/0.01086, allocations: 124.8 kB / 457.4 MB, free: 26.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.01089, allocations: 28.44 kB / 457.5 MB, free: 26.11 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01089, allocations: 0 / 457.5 MB, free: 26.11 MB / 330.7 MB Notification: Performance of Templates: time 0.002964/0.01386, allocations: 3.212 MB / 460.7 MB, free: 22.91 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TablesFromFile.sim & ./HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.566604656167328] Failed to read output from testmodel.py, exit status != 0: 0.01767154224216938 0.023783963 0.017188885 Calling exit ...