Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001789/0.001789, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] 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.002667/0.002667, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2561/0.2561, allocations: 44.93 MB / 359.6 MB, free: 6.051 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest 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.002432/0.002432, allocations: 67.89 kB / 0.4939 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4457, allocations: 65.47 MB / 0.5578 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.004325/0.45, allocations: 1.716 MB / 0.5595 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.4521, allocations: 0.9676 MB / 0.5604 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.4523, allocations: 7.938 kB / 0.5604 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.4526, allocations: 47.77 kB / 0.5605 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.4531, allocations: 103.6 kB / 0.5606 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.4534, allocations: 83.67 kB / 0.5606 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.4536, allocations: 107.7 kB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.4537, allocations: 5.828 kB / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.4538, allocations: 47.77 kB / 0.5608 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.454, allocations: 35.73 kB / 0.5608 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.454, allocations: 8 kB / 0.5608 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.4541, allocations: 39.98 kB / 0.5609 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.064e-05/0.4542, allocations: 27.91 kB / 0.5609 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.4543, allocations: 31.73 kB / 0.5609 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.4546, allocations: 143.4 kB / 0.5611 GB, free: 4.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4546, allocations: 4 kB / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4546, allocations: 0 / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.4546, allocations: 0 / 0.5611 GB, free: 4.145 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000677/0.4553, allocations: 391.6 kB / 0.5614 GB, free: 3.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.4553, allocations: 12.03 kB / 0.5615 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.692e-05/0.4554, allocations: 192 / 0.5615 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.4554, allocations: 30.75 kB / 0.5615 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.4554, allocations: 16.84 kB / 0.5615 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.4558, allocations: 167 kB / 0.5617 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.4558, allocations: 8.125 kB / 0.5617 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.4558, allocations: 4 kB / 0.5617 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.456, allocations: 61.66 kB / 0.5617 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.456, allocations: 0 / 0.5617 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.456, allocations: 0 / 0.5617 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.456, allocations: 3.938 kB / 0.5617 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.01e-05/0.4561, allocations: 23.98 kB / 0.5618 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.4565, allocations: 272 kB / 0.562 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.4567, allocations: 46.69 kB / 0.5621 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.4568, allocations: 28.78 kB / 0.5621 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.4568, allocations: 4 kB / 0.5621 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.457, allocations: 71.33 kB / 0.5622 GB, free: 2.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 5.41e-06/0.457, allocations: 3.984 kB / 0.5622 GB, free: 2.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006347/0.4576, allocations: 193.2 kB / 0.5623 GB, free: 2.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.4577, allocations: 63.39 kB / 0.5624 GB, free: 2.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.458, allocations: 291 kB / 0.5627 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.458, allocations: 29.7 kB / 0.5627 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.4582, allocations: 120.1 kB / 0.5628 GB, free: 2.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.4582, allocations: 19.86 kB / 0.5628 GB, free: 2.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.4582, allocations: 29.7 kB / 0.5629 GB, free: 2.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4584, allocations: 326.8 kB / 0.5632 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.4585, allocations: 19.98 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.439e-05/0.4585, allocations: 37.7 kB / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.4587, allocations: 65.62 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4587, allocations: 0 / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002168/0.4589, allocations: 113.5 kB / 0.5634 GB, free: 1.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4589, allocations: 4 kB / 0.5634 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4589, allocations: 0 / 0.5634 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4589, allocations: 4.031 kB / 0.5634 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.459, allocations: 19.98 kB / 0.5634 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.459, allocations: 3.938 kB / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.4591, allocations: 7.938 kB / 0.5634 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.4591, allocations: 384 / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001333/0.4592, allocations: 133.8 kB / 0.5636 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.4593, allocations: 23.89 kB / 0.5636 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.4596, allocations: 127.1 kB / 0.5637 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.4596, allocations: 4 kB / 0.5637 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4596, allocations: 11.94 kB / 0.5637 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4596, allocations: 0 / 0.5637 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.4602, allocations: 378.4 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4602, allocations: 4 kB / 0.5641 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.4602, allocations: 11.94 kB / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4602, allocations: 3.938 kB / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.4602, allocations: 4 kB / 0.5641 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4602, allocations: 4 kB / 0.5641 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4602, allocations: 4.266 kB / 0.5641 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.4605, allocations: 224.2 kB / 0.5643 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.4605, allocations: 19.78 kB / 0.5644 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.4606, allocations: 8 kB / 0.5644 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.4607, allocations: 3.984 kB / 0.5644 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.4607, allocations: 4 kB / 0.5644 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.4607, allocations: 7.984 kB / 0.5644 GB, free: 452 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.4609, allocations: 220.6 kB / 0.5646 GB, free: 232 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4609, allocations: 0 / 0.5646 GB, free: 232 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.4612, allocations: 23.98 kB / 0.5646 GB, free: 208 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002442/0.4637, allocations: 1.135 MB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.4639, allocations: 51.92 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4639, allocations: 4 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.774e-05/0.464, allocations: 32.05 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.4643, allocations: 45.11 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.4667, allocations: 1.877 MB / 0.5677 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.4668, allocations: 113 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.998e-05/0.4669, allocations: 24.95 kB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.467, allocations: 43.42 kB / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.467, allocations: 4 kB / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.4916, allocations: 4.203 MB / 0.572 GB, free: 8.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.92, allocations: 13.38 kB / 0.572 GB, free: 8.82 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.042715301038697] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.137210000073537 12.166134996 11.705846498 Calling exit ...