Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Tables.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.001376/0.001376, allocations: 104.3 kB / 19.71 MB, free: 2.148 MB / 14.72 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 1.49/1.49, allocations: 230.6 MB / 253.4 MB, free: 14.27 MB / 206.1 MB " [Timeout remaining time 178] 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.001718/0.001718, allocations: 207.1 kB / 310 MB, free: 3.152 MB / 238.1 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.04163/0.04163, allocations: 8.922 MB / 375.3 MB, free: 6.574 MB / 302.1 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.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 91.86 kB / 0.4904 GB, free: 44.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1055, allocations: 55.6 MB / 0.5447 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003893/0.1094, allocations: 2.108 MB / 0.5467 GB, free: 2.438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1114, allocations: 1.048 MB / 0.5477 GB, free: 1.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1115, allocations: 4 kB / 0.5477 GB, free: 1.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.1119, allocations: 107.5 kB / 0.5478 GB, free: 1.273 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004291/0.1123, allocations: 143.3 kB / 0.548 GB, free: 1.133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1126, allocations: 103.6 kB / 0.5481 GB, free: 1.031 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.1129, allocations: 231.1 kB / 0.5483 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.1131, allocations: 33.8 kB / 0.5483 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1132, allocations: 95.62 kB / 0.5484 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.1134, allocations: 103.6 kB / 0.5485 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.1134, allocations: 16 kB / 0.5485 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1135, allocations: 51.98 kB / 0.5486 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.306e-05/0.1136, allocations: 55.75 kB / 0.5486 GB, free: 468 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.818e-05/0.1137, allocations: 67.61 kB / 0.5487 GB, free: 400 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.1141, allocations: 239 kB / 0.5489 GB, free: 160 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1141, allocations: 0 / 0.5489 GB, free: 160 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1141, allocations: 4 kB / 0.5489 GB, free: 156 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1141, allocations: 0 / 0.5489 GB, free: 156 kB / 366.1 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.0008288/0.1149, allocations: 452 kB / 0.5494 GB, free: 15.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.115, allocations: 11.98 kB / 0.5494 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.115, allocations: 24.8 kB / 0.5494 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1154, allocations: 189.8 kB / 0.5496 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.1154, allocations: 8.609 kB / 0.5496 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.1155, allocations: 13.31 kB / 0.5496 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.1158, allocations: 157.1 kB / 0.5498 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1158, allocations: 0 / 0.5498 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.1158, allocations: 11.94 kB / 0.5498 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1158, allocations: 0 / 0.5498 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.116, allocations: 72.67 kB / 0.5498 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.1168, allocations: 462.3 kB / 0.5503 GB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.1172, allocations: 118.6 kB / 0.5504 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.695e-05/0.1173, allocations: 32.84 kB / 0.5504 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.1173, allocations: 0 / 0.5504 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.1175, allocations: 122.7 kB / 0.5505 GB, free: 14.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1175, allocations: 0 / 0.5505 GB, free: 14.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004051/0.118, allocations: 153.4 kB / 0.5507 GB, free: 14.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.118, allocations: 85.11 kB / 0.5508 GB, free: 14.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.1183, allocations: 260 kB / 0.551 GB, free: 13.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1183, allocations: 29.7 kB / 0.551 GB, free: 13.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1185, allocations: 144.6 kB / 0.5512 GB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.1185, allocations: 35.73 kB / 0.5512 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.1185, allocations: 33.7 kB / 0.5512 GB, free: 13.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1187, allocations: 326.8 kB / 0.5516 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/0.1188, allocations: 31.92 kB / 0.5516 GB, free: 13.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1189, allocations: 100.2 kB / 0.5517 GB, free: 13.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.1191, allocations: 95.23 kB / 0.5518 GB, free: 13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1191, allocations: 0 / 0.5518 GB, free: 13 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002615/0.1193, allocations: 149.4 kB / 0.5519 GB, free: 12.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.1194, allocations: 7.938 kB / 0.5519 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1194, allocations: 0 / 0.5519 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1194, allocations: 4 kB / 0.5519 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1195, allocations: 27.98 kB / 0.552 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1195, allocations: 0 / 0.552 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.831e-05/0.1196, allocations: 12 kB / 0.552 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1196, allocations: 7.984 kB / 0.552 GB, free: 12.79 MB / 382.1 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 0.0001384/0.1197, allocations: 137.9 kB / 0.5521 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.1198, allocations: 27.8 kB / 0.5521 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.1201, allocations: 135 kB / 0.5523 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1201, allocations: 0 / 0.5523 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1201, allocations: 0 / 0.5523 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1201, allocations: 3.984 kB / 0.5523 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.1203, allocations: 177.2 kB / 0.5524 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1203, allocations: 0 / 0.5524 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.605e-05/0.1204, allocations: 15.94 kB / 0.5524 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1204, allocations: 4 kB / 0.5524 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1204, allocations: 11.94 kB / 0.5525 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1204, allocations: 0 / 0.5525 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1204, allocations: 0 / 0.5525 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.1208, allocations: 196.9 kB / 0.5526 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.1208, allocations: 19.92 kB / 0.5527 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.1208, allocations: 3.938 kB / 0.5527 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.169e-05/0.1209, allocations: 8 kB / 0.5527 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.121, allocations: 7.984 kB / 0.5527 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.121, allocations: 4 kB / 0.5527 GB, free: 11.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.1212, allocations: 201.8 kB / 0.5529 GB, free: 11.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1212, allocations: 4 kB / 0.5529 GB, free: 11.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.1215, allocations: 39.89 kB / 0.5529 GB, free: 11.75 MB / 382.1 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.00169/0.1232, allocations: 446.2 kB / 0.5534 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.1235, allocations: 75.91 kB / 0.5534 GB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1235, allocations: 0 / 0.5534 GB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.493e-05/0.1235, allocations: 35.92 kB / 0.5535 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.1239, allocations: 49.98 kB / 0.5535 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.1248, allocations: 462.6 kB / 0.5539 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.1249, allocations: 136.7 kB / 0.5541 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.125, allocations: 19.42 kB / 0.5541 GB, free: 10.68 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.125, allocations: 0 / 0.5541 GB, free: 10.68 MB / 382.1 MB Notification: Performance of Templates: time 0.005298/0.1302, allocations: 2.64 MB / 0.5567 GB, free: 8.055 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.Tables.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Tables.sim & ./HanserModelica_HanserModelica.Electrical.Tables -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.064005054999143] Failed to read output from testmodel.py, exit status != 0: 0.13774591078981757 0.38182038399999996 0.265055813 Calling exit ...