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.001241/0.001241, allocations: 114.3 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.496/1.496, 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.002042/0.002042, allocations: 219.5 kB / 309.2 MB, free: 3.145 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.04328/0.04328, allocations: 8.917 MB / 374.6 MB, free: 1.898 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.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: 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.002533/0.002533, allocations: 83.88 kB / 0.4897 GB, free: 6.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3602, allocations: 55.6 MB / 0.544 GB, free: 27.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003231/0.3635, allocations: 2.224 MB / 0.5462 GB, free: 25.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.3657, allocations: 1.817 MB / 0.5479 GB, free: 24.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.3658, allocations: 3.156 kB / 0.5479 GB, free: 24.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.3662, allocations: 100.9 kB / 0.548 GB, free: 24.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.3665, allocations: 161.7 kB / 0.5482 GB, free: 24.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.3667, allocations: 101.3 kB / 0.5483 GB, free: 24.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.367, allocations: 228.7 kB / 0.5485 GB, free: 23.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.3672, allocations: 33.45 kB / 0.5485 GB, free: 23.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.3673, allocations: 112 kB / 0.5486 GB, free: 23.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.3676, allocations: 115.9 kB / 0.5487 GB, free: 23.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.3676, allocations: 16.12 kB / 0.5488 GB, free: 23.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.3678, allocations: 128.3 kB / 0.5489 GB, free: 23.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.447e-05/0.3678, allocations: 49.72 kB / 0.5489 GB, free: 23.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.696e-05/0.3679, allocations: 88.62 kB / 0.549 GB, free: 23.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.3683, allocations: 290.8 kB / 0.5493 GB, free: 23.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3683, allocations: 3.422 kB / 0.5493 GB, free: 23.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3683, allocations: 3.219 kB / 0.5493 GB, free: 23.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3683, allocations: 0 / 0.5493 GB, free: 23.64 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.0008232/0.3691, allocations: 483.6 kB / 0.5498 GB, free: 23.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3692, allocations: 9.469 kB / 0.5498 GB, free: 23.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.3693, allocations: 25.45 kB / 0.5498 GB, free: 23.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.3696, allocations: 196.9 kB / 0.55 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.3697, allocations: 7.641 kB / 0.55 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.3697, allocations: 17.62 kB / 0.55 GB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.37, allocations: 142.5 kB / 0.5501 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.37, allocations: 0 / 0.5501 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.37, allocations: 11.16 kB / 0.5502 GB, free: 22.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.37, allocations: 3.219 kB / 0.5502 GB, free: 22.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.3702, allocations: 77.38 kB / 0.5502 GB, free: 22.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.371, allocations: 0.5156 MB / 0.5507 GB, free: 22.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.3713, allocations: 99.41 kB / 0.5508 GB, free: 22.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.3714, allocations: 38.45 kB / 0.5509 GB, free: 22.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.3714, allocations: 0 / 0.5509 GB, free: 22.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.3716, allocations: 98.56 kB / 0.551 GB, free: 22.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.3716, allocations: 3.984 kB / 0.551 GB, free: 22.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003692/0.372, allocations: 151.3 kB / 0.5511 GB, free: 22.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.3721, allocations: 109.8 kB / 0.5512 GB, free: 22.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.3723, allocations: 280.8 kB / 0.5515 GB, free: 22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3723, allocations: 28.73 kB / 0.5515 GB, free: 21.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3724, allocations: 157.4 kB / 0.5517 GB, free: 21.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.3725, allocations: 29.47 kB / 0.5517 GB, free: 21.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.3725, allocations: 32.72 kB / 0.5517 GB, free: 21.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.3726, allocations: 335 kB / 0.552 GB, free: 21.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.249e-05/0.3727, allocations: 30.7 kB / 0.5521 GB, free: 21.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.34e-05/0.3728, allocations: 63.95 kB / 0.5521 GB, free: 21.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.3729, allocations: 96.59 kB / 0.5522 GB, free: 21.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3729, allocations: 3.062 kB / 0.5522 GB, free: 21.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002186/0.3731, allocations: 136.1 kB / 0.5524 GB, free: 21.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3731, allocations: 5.906 kB / 0.5524 GB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3731, allocations: 4.094 kB / 0.5524 GB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3732, allocations: 3.031 kB / 0.5524 GB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3733, allocations: 32.88 kB / 0.5524 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3733, allocations: 0 / 0.5524 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.652e-05/0.3734, allocations: 18.02 kB / 0.5524 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3734, allocations: 3.188 kB / 0.5524 GB, free: 21.23 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.0001168/0.3735, allocations: 141 kB / 0.5525 GB, free: 21.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.3735, allocations: 17.69 kB / 0.5526 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.3738, allocations: 132.6 kB / 0.5527 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3738, allocations: 2.875 kB / 0.5527 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3738, allocations: 0 / 0.5527 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3738, allocations: 0 / 0.5527 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.374, allocations: 233.4 kB / 0.5529 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.374, allocations: 3.938 kB / 0.5529 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/0.3741, allocations: 15.59 kB / 0.5529 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3741, allocations: 0 / 0.5529 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3741, allocations: 480 / 0.5529 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3741, allocations: 3.094 kB / 0.5529 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3741, allocations: 0 / 0.5529 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.3744, allocations: 189.6 kB / 0.5531 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.3744, allocations: 26.03 kB / 0.5531 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.3745, allocations: 4 kB / 0.5532 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.3746, allocations: 10.02 kB / 0.5532 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.3746, allocations: 7.188 kB / 0.5532 GB, free: 20.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.3746, allocations: 3.312 kB / 0.5532 GB, free: 20.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.3748, allocations: 215 kB / 0.5534 GB, free: 20.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3748, allocations: 0 / 0.5534 GB, free: 20.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.3751, allocations: 72.69 kB / 0.5534 GB, free: 20.53 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.001754/0.3768, allocations: 496.6 kB / 0.5539 GB, free: 20.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.377, allocations: 78.62 kB / 0.554 GB, free: 20.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.377, allocations: 3.156 kB / 0.554 GB, free: 20.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.3771, allocations: 33.31 kB / 0.554 GB, free: 20.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.3774, allocations: 47.89 kB / 0.5541 GB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008207/0.3782, allocations: 444 kB / 0.5545 GB, free: 19.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.3785, allocations: 0.7343 MB / 0.5552 GB, free: 19.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.651e-05/0.3785, allocations: 29.11 kB / 0.5552 GB, free: 19.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.3786, allocations: 19.69 kB / 0.5553 GB, free: 19.25 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3786, allocations: 0 / 0.5553 GB, free: 19.25 MB / 382.1 MB Notification: Performance of Templates: time 0.007031/0.3856, allocations: 2.879 MB / 0.5581 GB, free: 18.95 MB / 382.1 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: 5.146854325896129] Failed to read output from testmodel.py, exit status != 0: 0.39370426116511226 0.412003121 0.039673854 Calling exit ...