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.001353/0.001353, allocations: 113 kB / 18.94 MB, free: 2.934 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.571/1.571, allocations: 230.6 MB / 252.6 MB, free: 8.312 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.001724/0.001724, allocations: 211.7 kB / 309.2 MB, free: 3.164 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.04308/0.04308, allocations: 8.915 MB / 374.6 MB, free: 1.914 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.002519/0.002519, allocations: 83.88 kB / 0.4897 GB, free: 6.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3582, allocations: 55.61 MB / 0.544 GB, free: 27.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003343/0.3616, allocations: 2.213 MB / 0.5461 GB, free: 25.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3632, allocations: 1.135 MB / 0.5472 GB, free: 24.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.3633, allocations: 3.031 kB / 0.5472 GB, free: 24.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.3637, allocations: 99.56 kB / 0.5473 GB, free: 24.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.3641, allocations: 151.5 kB / 0.5475 GB, free: 24.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.3643, allocations: 101.6 kB / 0.5476 GB, free: 24.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.3646, allocations: 230.9 kB / 0.5478 GB, free: 24.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.3647, allocations: 37.66 kB / 0.5478 GB, free: 24.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.3648, allocations: 97.95 kB / 0.5479 GB, free: 24.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.365, allocations: 108.2 kB / 0.548 GB, free: 24.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.365, allocations: 12.94 kB / 0.548 GB, free: 24.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3651, allocations: 56.88 kB / 0.5481 GB, free: 24.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.3652, allocations: 53.94 kB / 0.5482 GB, free: 24.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.528e-05/0.3652, allocations: 91.81 kB / 0.5482 GB, free: 24.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.3655, allocations: 222.8 kB / 0.5485 GB, free: 24.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3655, allocations: 0 / 0.5485 GB, free: 24.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3655, allocations: 0 / 0.5485 GB, free: 24.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.3655, allocations: 2.969 kB / 0.5485 GB, free: 24.2 MB / 382.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.0006481/0.3662, allocations: 455.9 kB / 0.5489 GB, free: 23.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3662, allocations: 13.69 kB / 0.5489 GB, free: 23.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.3663, allocations: 22.33 kB / 0.5489 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.3666, allocations: 189.1 kB / 0.5491 GB, free: 23.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3666, allocations: 10.89 kB / 0.5491 GB, free: 23.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.3666, allocations: 14.84 kB / 0.5491 GB, free: 23.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.3668, allocations: 121.3 kB / 0.5492 GB, free: 23.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3669, allocations: 0 / 0.5492 GB, free: 23.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3669, allocations: 7.062 kB / 0.5493 GB, free: 23.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3669, allocations: 0 / 0.5493 GB, free: 23.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.367, allocations: 78.86 kB / 0.5493 GB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006685/0.3677, allocations: 0.5131 MB / 0.5498 GB, free: 23.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.368, allocations: 110.3 kB / 0.5499 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.32e-05/0.3681, allocations: 31.86 kB / 0.55 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.3681, allocations: 3.125 kB / 0.55 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.3683, allocations: 104.1 kB / 0.5501 GB, free: 22.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.3683, allocations: 0 / 0.5501 GB, free: 22.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003322/0.3687, allocations: 145.1 kB / 0.5502 GB, free: 22.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.3687, allocations: 84.25 kB / 0.5503 GB, free: 22.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.3689, allocations: 272.7 kB / 0.5505 GB, free: 22.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.3689, allocations: 32.98 kB / 0.5506 GB, free: 22.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.369, allocations: 140.7 kB / 0.5507 GB, free: 22.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.369, allocations: 33.64 kB / 0.5507 GB, free: 22.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.3691, allocations: 28.28 kB / 0.5508 GB, free: 22.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.3691, allocations: 336 kB / 0.5511 GB, free: 22.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.71e-05/0.3692, allocations: 32.16 kB / 0.5511 GB, free: 22.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.3693, allocations: 65.69 kB / 0.5512 GB, free: 22.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.3694, allocations: 89.89 kB / 0.5513 GB, free: 21.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3694, allocations: 3.156 kB / 0.5513 GB, free: 21.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001982/0.3696, allocations: 139.2 kB / 0.5514 GB, free: 21.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3696, allocations: 6.344 kB / 0.5514 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3696, allocations: 0 / 0.5514 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3697, allocations: 6.609 kB / 0.5514 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3698, allocations: 18.72 kB / 0.5514 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3698, allocations: 6.641 kB / 0.5514 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/0.3699, allocations: 14.42 kB / 0.5515 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3699, allocations: 7.344 kB / 0.5515 GB, free: 21.88 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 9.862e-05/0.37, allocations: 152.7 kB / 0.5516 GB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.37, allocations: 20.52 kB / 0.5516 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.3702, allocations: 132.9 kB / 0.5518 GB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.3702, allocations: 7 kB / 0.5518 GB, free: 21.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3702, allocations: 0 / 0.5518 GB, free: 21.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3702, allocations: 3.469 kB / 0.5518 GB, free: 21.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.3704, allocations: 215 kB / 0.552 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3704, allocations: 0 / 0.552 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.3705, allocations: 16.03 kB / 0.552 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3705, allocations: 3.422 kB / 0.552 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3705, allocations: 7 kB / 0.552 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3705, allocations: 0 / 0.552 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3705, allocations: 0 / 0.552 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.3708, allocations: 186.3 kB / 0.5522 GB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.3708, allocations: 13.91 kB / 0.5522 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.3708, allocations: 3 kB / 0.5522 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.3709, allocations: 14.47 kB / 0.5522 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.3709, allocations: 6.469 kB / 0.5522 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.371, allocations: 3.031 kB / 0.5522 GB, free: 21.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.3711, allocations: 206.1 kB / 0.5524 GB, free: 21.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3711, allocations: 3.938 kB / 0.5524 GB, free: 21.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.3714, allocations: 41.83 kB / 0.5525 GB, free: 21.2 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 (10): * Single equations (assignments): 8 * 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.001497/0.3729, allocations: 413.7 kB / 0.5528 GB, free: 21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.3731, allocations: 74.88 kB / 0.5529 GB, free: 20.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3731, allocations: 4 kB / 0.5529 GB, free: 20.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.3732, allocations: 32.31 kB / 0.553 GB, free: 20.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3735, allocations: 46.45 kB / 0.553 GB, free: 20.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.3742, allocations: 429.9 kB / 0.5534 GB, free: 20.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.3744, allocations: 0.7403 MB / 0.5541 GB, free: 19.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.594e-05/0.3745, allocations: 29.94 kB / 0.5542 GB, free: 19.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.3745, allocations: 20.88 kB / 0.5542 GB, free: 19.94 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3745, allocations: 0 / 0.5542 GB, free: 19.94 MB / 382.1 MB Notification: Performance of Templates: time 0.005695/0.3802, allocations: 2.21 MB / 0.5563 GB, free: 19.71 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: 5.148886743932962] Failed to read output from testmodel.py, exit status != 0: 0.3881302031222731 0.402086641 0.033508961000000004 Calling exit ...