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.001594/0.001594, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.436/1.436, allocations: 230.6 MB / 253.4 MB, free: 8.293 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.001638/0.001638, allocations: 213.3 kB / 310 MB, free: 3.176 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.04169/0.04169, allocations: 8.919 MB / 375.3 MB, free: 1.934 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.00278/0.00278, allocations: 91.8 kB / 0.4904 GB, free: 6.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3584, allocations: 55.6 MB / 0.5447 GB, free: 27.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003023/0.3615, allocations: 2.206 MB / 0.5469 GB, free: 25.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3629, allocations: 1.127 MB / 0.548 GB, free: 24.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.363, allocations: 7.031 kB / 0.548 GB, free: 24.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.3634, allocations: 102.2 kB / 0.5481 GB, free: 24.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.3637, allocations: 151.9 kB / 0.5482 GB, free: 24.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.3639, allocations: 106.3 kB / 0.5483 GB, free: 24.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.3641, allocations: 228.1 kB / 0.5485 GB, free: 24.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3642, allocations: 37.41 kB / 0.5486 GB, free: 24.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.3644, allocations: 99.05 kB / 0.5487 GB, free: 24.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.3645, allocations: 114 kB / 0.5488 GB, free: 24.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.3645, allocations: 13 kB / 0.5488 GB, free: 24.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.325e-05/0.3646, allocations: 51.08 kB / 0.5488 GB, free: 24.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.3647, allocations: 46.31 kB / 0.5489 GB, free: 24.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.669e-05/0.3648, allocations: 95.91 kB / 0.549 GB, free: 24.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.365, allocations: 227.1 kB / 0.5492 GB, free: 24.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.365, allocations: 0 / 0.5492 GB, free: 24.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.365, allocations: 4 kB / 0.5492 GB, free: 24.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.365, allocations: 3.422 kB / 0.5492 GB, free: 24.23 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.0006264/0.3657, allocations: 451.2 kB / 0.5496 GB, free: 23.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3657, allocations: 9.25 kB / 0.5496 GB, free: 23.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.077e-05/0.3658, allocations: 27.77 kB / 0.5497 GB, free: 23.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.366, allocations: 188.8 kB / 0.5499 GB, free: 23.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.366, allocations: 10.92 kB / 0.5499 GB, free: 23.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.3661, allocations: 18.5 kB / 0.5499 GB, free: 23.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.3663, allocations: 117.3 kB / 0.55 GB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3663, allocations: 0 / 0.55 GB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3663, allocations: 7.031 kB / 0.55 GB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3663, allocations: 3.094 kB / 0.55 GB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.3665, allocations: 77.28 kB / 0.5501 GB, free: 23.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.3671, allocations: 0.5131 MB / 0.5506 GB, free: 23.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.3674, allocations: 99.48 kB / 0.5507 GB, free: 23.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.917e-05/0.3675, allocations: 38.44 kB / 0.5507 GB, free: 23.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.3675, allocations: 0 / 0.5507 GB, free: 23.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.3677, allocations: 109.6 kB / 0.5508 GB, free: 23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.3677, allocations: 0 / 0.5508 GB, free: 23 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003045/0.368, allocations: 143.8 kB / 0.551 GB, free: 22.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.368, allocations: 81.11 kB / 0.551 GB, free: 22.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3682, allocations: 274.9 kB / 0.5513 GB, free: 22.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.3682, allocations: 29.64 kB / 0.5513 GB, free: 22.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.3683, allocations: 155 kB / 0.5515 GB, free: 22.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.3683, allocations: 30.17 kB / 0.5515 GB, free: 22.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.3684, allocations: 34.42 kB / 0.5515 GB, free: 22.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.3684, allocations: 335.9 kB / 0.5518 GB, free: 22.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.3685, allocations: 26.8 kB / 0.5519 GB, free: 22.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.3686, allocations: 59.03 kB / 0.5519 GB, free: 22.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.3687, allocations: 102.6 kB / 0.552 GB, free: 22.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3687, allocations: 0 / 0.552 GB, free: 22.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001932/0.3689, allocations: 128.1 kB / 0.5521 GB, free: 21.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3689, allocations: 6.062 kB / 0.5522 GB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3689, allocations: 96 / 0.5522 GB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3689, allocations: 11.34 kB / 0.5522 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.875e-05/0.369, allocations: 26.44 kB / 0.5522 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.369, allocations: 6.453 kB / 0.5522 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.3691, allocations: 14.2 kB / 0.5522 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3691, allocations: 3.344 kB / 0.5522 GB, free: 21.92 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.252e-05/0.3692, allocations: 151.2 kB / 0.5524 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.3692, allocations: 20.77 kB / 0.5524 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.3695, allocations: 135.9 kB / 0.5525 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3695, allocations: 0 / 0.5525 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3695, allocations: 3.094 kB / 0.5525 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3695, allocations: 0 / 0.5525 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.3696, allocations: 216.1 kB / 0.5527 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3696, allocations: 3.938 kB / 0.5527 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.3697, allocations: 12.19 kB / 0.5527 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3697, allocations: 0 / 0.5527 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3697, allocations: 4.469 kB / 0.5527 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3697, allocations: 2.969 kB / 0.5527 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3697, allocations: 3.328 kB / 0.5527 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.37, allocations: 194.2 kB / 0.5529 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.37, allocations: 14.28 kB / 0.5529 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.3701, allocations: 0 / 0.5529 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.3701, allocations: 17.77 kB / 0.553 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.3702, allocations: 3.328 kB / 0.553 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.3702, allocations: 3.219 kB / 0.553 GB, free: 21.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.3703, allocations: 205.8 kB / 0.5532 GB, free: 21.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3703, allocations: 0 / 0.5532 GB, free: 21.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.3706, allocations: 48.77 kB / 0.5532 GB, free: 21.23 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.001425/0.372, allocations: 406.3 kB / 0.5536 GB, free: 21.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.3722, allocations: 79.34 kB / 0.5537 GB, free: 21.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3722, allocations: 0 / 0.5537 GB, free: 21.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.318e-05/0.3723, allocations: 37.47 kB / 0.5537 GB, free: 21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.3726, allocations: 42.47 kB / 0.5537 GB, free: 20.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.3733, allocations: 465.9 kB / 0.5542 GB, free: 20.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.3734, allocations: 0.7353 MB / 0.5549 GB, free: 19.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.3735, allocations: 23.14 kB / 0.5549 GB, free: 19.96 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3735, allocations: 0 / 0.5549 GB, free: 19.96 MB / 382.1 MB Notification: Performance of Templates: time 0.004255/0.3777, allocations: 2.628 MB / 0.5575 GB, free: 19.64 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: 7.996479365974665] Failed to read output from testmodel.py, exit status != 0: 0.3866439741104841 0.398235718 0.030450815000000003 Calling exit ...