Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 110 kB / 21.22 MB, free: 0.5117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 181.2 kB / 24.51 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2412/0.2412, allocations: 44.9 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.88 kB / 497.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4347, allocations: 64.28 MB / 0.5488 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004104/0.4388, allocations: 1.861 MB / 0.5506 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.4407, allocations: 0.8821 MB / 0.5515 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.4408, allocations: 0 / 0.5515 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.4412, allocations: 58.62 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.4416, allocations: 82.92 kB / 0.5516 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.4422, allocations: 156.1 kB / 0.5518 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.4426, allocations: 193.3 kB / 0.552 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.4427, allocations: 26.56 kB / 0.552 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.4428, allocations: 79.91 kB / 0.5521 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.443, allocations: 100.1 kB / 0.5522 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.4431, allocations: 17 kB / 0.5522 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.4432, allocations: 54.22 kB / 0.5522 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.4433, allocations: 37.19 kB / 0.5523 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.4434, allocations: 65.41 kB / 0.5523 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.4438, allocations: 185.6 kB / 0.5525 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4438, allocations: 0 / 0.5525 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4438, allocations: 0 / 0.5525 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.4438, allocations: 0 / 0.5525 GB, free: 10.3 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001347/0.4452, allocations: 0.4926 MB / 0.553 GB, free: 9.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.4452, allocations: 14.17 kB / 0.553 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.4453, allocations: 16.88 kB / 0.553 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.4456, allocations: 170.9 kB / 0.5532 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.4456, allocations: 2.625 kB / 0.5532 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.4456, allocations: 9.938 kB / 0.5532 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.4462, allocations: 146.7 kB / 0.5533 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4462, allocations: 0 / 0.5533 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.4462, allocations: 5.141 kB / 0.5533 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4463, allocations: 1.094 kB / 0.5533 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008262/0.4471, allocations: 166.5 kB / 0.5535 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.4477, allocations: 336.3 kB / 0.5538 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009074/0.4486, allocations: 191 kB / 0.554 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004334/0.449, allocations: 89.45 kB / 0.5541 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.4491, allocations: 9.203 kB / 0.5541 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006965/0.4498, allocations: 159.7 kB / 0.5542 GB, free: 8.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.4498, allocations: 0 / 0.5542 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.004281/0.4541, allocations: 0.8204 MB / 0.555 GB, free: 8.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.4541, allocations: 61.66 kB / 0.5551 GB, free: 8.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.4544, allocations: 236.9 kB / 0.5553 GB, free: 8.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.4545, allocations: 32.59 kB / 0.5554 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.4546, allocations: 120.4 kB / 0.5555 GB, free: 8.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.4546, allocations: 48.42 kB / 0.5555 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-05/0.4547, allocations: 33.8 kB / 0.5556 GB, free: 8.012 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.4549, allocations: 326.8 kB / 0.5559 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/0.4558, allocations: 169.7 kB / 0.556 GB, free: 7.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008196/0.4566, allocations: 165.2 kB / 0.5562 GB, free: 7.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.4583, allocations: 368.6 kB / 0.5565 GB, free: 7.312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4583, allocations: 0 / 0.5565 GB, free: 7.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001856/0.4602, allocations: 456.5 kB / 0.557 GB, free: 6.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.93e-05/0.4603, allocations: 67.39 kB / 0.557 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4603, allocations: 0 / 0.557 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.133e-05/0.4603, allocations: 4 kB / 0.557 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/0.4608, allocations: 63.91 kB / 0.5571 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4608, allocations: 3.938 kB / 0.5571 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.4613, allocations: 63.91 kB / 0.5572 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.4613, allocations: 4 kB / 0.5572 GB, free: 6.633 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001987/0.4615, allocations: 141.8 kB / 0.5573 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.4616, allocations: 19.86 kB / 0.5573 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.4633, allocations: 402.4 kB / 0.5577 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4633, allocations: 4 kB / 0.5577 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.4634, allocations: 3.938 kB / 0.5577 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4634, allocations: 0 / 0.5577 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.4655, allocations: 0.6768 MB / 0.5584 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4655, allocations: 0 / 0.5584 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/0.4659, allocations: 67.91 kB / 0.5584 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.4659, allocations: 7.938 kB / 0.5585 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.466, allocations: 4 kB / 0.5585 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.466, allocations: 0 / 0.5585 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.466, allocations: 4.547 kB / 0.5585 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.4676, allocations: 475 kB / 0.5589 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.4677, allocations: 19.8 kB / 0.5589 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.4677, allocations: 8 kB / 0.5589 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.4682, allocations: 63.89 kB / 0.559 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.4684, allocations: 55.88 kB / 0.5591 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.4684, allocations: 11.92 kB / 0.5591 GB, free: 4.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.4686, allocations: 172.6 kB / 0.5592 GB, free: 4.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4686, allocations: 0 / 0.5592 GB, free: 4.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.469, allocations: 40 kB / 0.5593 GB, free: 4.402 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001817/0.4708, allocations: 410.4 kB / 0.5597 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.4727, allocations: 462.3 kB / 0.5601 GB, free: 3.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4727, allocations: 4 kB / 0.5601 GB, free: 3.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00084/0.4735, allocations: 175.8 kB / 0.5603 GB, free: 3.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.474, allocations: 37.03 kB / 0.5603 GB, free: 3.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.4752, allocations: 358.8 kB / 0.5607 GB, free: 3.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.4757, allocations: 0.7239 MB / 0.5614 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.4758, allocations: 17.42 kB / 0.5614 GB, free: 2.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.4759, allocations: 23.42 kB / 0.5614 GB, free: 2.305 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4759, allocations: 0 / 0.5614 GB, free: 2.305 MB / 398.1 MB Notification: Performance of Templates: time 0.0099/0.4858, allocations: 3.587 MB / 0.5649 GB, free: 14.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.530858027748764] Failed to read output from testmodel.py, exit status != 0: 0.49611199647188187 0.512173518 0.064994751 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f328b2bd7b0>