Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001689/0.001689, 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.002113/0.002113, 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.555/1.555, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.235/0.235, allocations: 44.93 MB / 359.6 MB, free: 6.059 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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",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.002073/0.002073, allocations: 71.89 kB / 0.4939 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3416, allocations: 65.46 MB / 0.5578 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003751/0.3453, allocations: 1.711 MB / 0.5595 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3473, allocations: 0.9715 MB / 0.5604 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3474, allocations: 0 / 0.5604 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.3477, allocations: 47.75 kB / 0.5605 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.3481, allocations: 99.59 kB / 0.5605 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.3484, allocations: 79.67 kB / 0.5606 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.3486, allocations: 107.6 kB / 0.5607 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3487, allocations: 9.812 kB / 0.5607 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3488, allocations: 43.8 kB / 0.5608 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.443e-05/0.3489, allocations: 31.84 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3489, allocations: 4 kB / 0.5608 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.3491, allocations: 39.98 kB / 0.5608 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.3491, allocations: 27.84 kB / 0.5609 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.3492, allocations: 35.73 kB / 0.5609 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.3495, allocations: 123.5 kB / 0.561 GB, free: 4.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3495, allocations: 4 kB / 0.561 GB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3495, allocations: 0 / 0.561 GB, free: 4.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.3495, allocations: 0 / 0.561 GB, free: 4.191 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.0006893/0.3502, allocations: 353.5 kB / 0.5614 GB, free: 3.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3502, allocations: 8.031 kB / 0.5614 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.55e-05/0.3502, allocations: 4.188 kB / 0.5614 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.3503, allocations: 34.73 kB / 0.5614 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.3503, allocations: 16.89 kB / 0.5614 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.3506, allocations: 154.3 kB / 0.5616 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3506, allocations: 12.06 kB / 0.5616 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.3507, allocations: 4 kB / 0.5616 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3508, allocations: 53.67 kB / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3508, allocations: 4 kB / 0.5616 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3508, allocations: 4 kB / 0.5617 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3508, allocations: 0 / 0.5617 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.3509, allocations: 19.98 kB / 0.5617 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.3513, allocations: 259.9 kB / 0.5619 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.3515, allocations: 62.61 kB / 0.562 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.896e-05/0.3516, allocations: 24.84 kB / 0.562 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.3516, allocations: 0 / 0.562 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.3518, allocations: 67.39 kB / 0.5621 GB, free: 2.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3518, allocations: 0 / 0.5621 GB, free: 2.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007047/0.3525, allocations: 185.3 kB / 0.5622 GB, free: 2.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.3525, allocations: 63.41 kB / 0.5623 GB, free: 2.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.3528, allocations: 222.6 kB / 0.5625 GB, free: 2.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.3528, allocations: 25.7 kB / 0.5625 GB, free: 2.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.3529, allocations: 104.1 kB / 0.5626 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.353, allocations: 27.83 kB / 0.5627 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.353, allocations: 29.72 kB / 0.5627 GB, free: 2.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.3532, allocations: 322.8 kB / 0.563 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.3533, allocations: 27.92 kB / 0.563 GB, free: 1.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-05/0.3534, allocations: 37.7 kB / 0.5631 GB, free: 1.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3535, allocations: 53.7 kB / 0.5631 GB, free: 1.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3535, allocations: 4 kB / 0.5631 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002533/0.3538, allocations: 105.5 kB / 0.5632 GB, free: 1.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.3538, allocations: 11.92 kB / 0.5632 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3538, allocations: 4.031 kB / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.3538, allocations: 0 / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.354, allocations: 16 kB / 0.5633 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.354, allocations: 3.938 kB / 0.5633 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.354, allocations: 12.3 kB / 0.5633 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.354, allocations: 8.094 kB / 0.5633 GB, free: 1.684 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.0001257/0.3542, allocations: 121.8 kB / 0.5634 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.3542, allocations: 11.91 kB / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.3545, allocations: 135 kB / 0.5635 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3545, allocations: 8 kB / 0.5635 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3545, allocations: 3.938 kB / 0.5635 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3545, allocations: 0 / 0.5635 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005837/0.3551, allocations: 366.4 kB / 0.5639 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3551, allocations: 0 / 0.5639 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.3552, allocations: 8 kB / 0.5639 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.3552, allocations: 7.938 kB / 0.5639 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.3552, allocations: 7.984 kB / 0.5639 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3552, allocations: 0 / 0.5639 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3552, allocations: 4.281 kB / 0.5639 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.3555, allocations: 220.2 kB / 0.5641 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.3555, allocations: 11.89 kB / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.3556, allocations: 4 kB / 0.5641 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.3556, allocations: 7.984 kB / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3557, allocations: 0 / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.3557, allocations: 7.984 kB / 0.5642 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.3559, allocations: 160.3 kB / 0.5643 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3559, allocations: 0 / 0.5643 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.3562, allocations: 24 kB / 0.5643 GB, free: 0.5039 MB / 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.002597/0.3588, allocations: 1.141 MB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.359, allocations: 55.91 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.359, allocations: 4 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.3591, allocations: 32.05 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.3595, allocations: 35.75 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.3621, allocations: 1.702 MB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.3622, allocations: 92.61 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.299e-05/0.3623, allocations: 24.64 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.3624, allocations: 39.42 kB / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3624, allocations: 3.938 kB / 0.5674 GB, free: 13.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.3871, allocations: 3.865 MB / 0.5712 GB, free: 9.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.67, allocations: 10.97 kB / 0.5712 GB, free: 9.66 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.85535327391699] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.896008256007917 11.9147929 11.562060214 Calling exit ...