Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001405/0.001405, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001393/0.001393, allocations: 219 kB / 21.46 MB, free: 1.586 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.572/1.572, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2508/0.2508, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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.Test67,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 71.83 kB / 0.4917 GB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1337, allocations: 65.99 MB / 0.5561 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004139/0.1378, allocations: 2.374 MB / 0.5584 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.1405, allocations: 1.4 MB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.1408, allocations: 11.88 kB / 0.5598 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006441/0.1415, allocations: 303 kB / 0.5601 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008632/0.1423, allocations: 326.6 kB / 0.5604 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006451/0.143, allocations: 215.5 kB / 0.5606 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008462/0.1438, allocations: 0.5647 MB / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.144, allocations: 37.08 kB / 0.5612 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004262/0.1444, allocations: 251 kB / 0.5615 GB, free: 264 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004239/0.1448, allocations: 298.8 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.093e-05/0.1449, allocations: 20 kB / 0.5618 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.145, allocations: 55.98 kB / 0.5618 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.1452, allocations: 115.5 kB / 0.5619 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.1454, allocations: 174.7 kB / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005604/0.146, allocations: 437.8 kB / 0.5625 GB, free: 15.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.146, allocations: 0 / 0.5625 GB, free: 15.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.146, allocations: 0 / 0.5625 GB, free: 15.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.146, allocations: 0 / 0.5625 GB, free: 15.18 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001343/0.1473, allocations: 0.8169 MB / 0.5633 GB, free: 14.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1474, allocations: 8.031 kB / 0.5633 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.927e-05/0.1474, allocations: 8.188 kB / 0.5633 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.1474, allocations: 50.72 kB / 0.5634 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.1475, allocations: 60.56 kB / 0.5634 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006896/0.1482, allocations: 428.3 kB / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.1483, allocations: 16.11 kB / 0.5639 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.1483, allocations: 16 kB / 0.5639 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.1487, allocations: 209.8 kB / 0.5641 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1487, allocations: 0 / 0.5641 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.1488, allocations: 8 kB / 0.5641 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1488, allocations: 7.938 kB / 0.5641 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.1491, allocations: 103.8 kB / 0.5642 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.1501, allocations: 0.8644 MB / 0.565 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/0.1508, allocations: 277.3 kB / 0.5653 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.151, allocations: 88.2 kB / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.151, allocations: 7.984 kB / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004315/0.1514, allocations: 227.5 kB / 0.5656 GB, free: 11.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.1514, allocations: 0 / 0.5656 GB, free: 11.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.002276/0.1537, allocations: 1.042 MB / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.1538, allocations: 166.1 kB / 0.5668 GB, free: 10.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008371/0.1547, allocations: 0.6592 MB / 0.5674 GB, free: 9.805 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.1547, allocations: 33.7 kB / 0.5675 GB, free: 9.766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.1549, allocations: 233 kB / 0.5677 GB, free: 9.535 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.1551, allocations: 134.9 kB / 0.5678 GB, free: 9.402 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.1552, allocations: 70.12 kB / 0.5679 GB, free: 9.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.1554, allocations: 378.8 kB / 0.5682 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.1557, allocations: 100.8 kB / 0.5683 GB, free: 8.852 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.156, allocations: 176.9 kB / 0.5685 GB, free: 8.648 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.1566, allocations: 300.5 kB / 0.5688 GB, free: 8.324 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1566, allocations: 7.938 kB / 0.5688 GB, free: 8.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009398/0.1575, allocations: 408.9 kB / 0.5692 GB, free: 7.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.1576, allocations: 8 kB / 0.5692 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1576, allocations: 0 / 0.5692 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.1576, allocations: 4 kB / 0.5692 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.1579, allocations: 83.91 kB / 0.5693 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/0.1579, allocations: 16.08 kB / 0.5693 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.1582, allocations: 15.98 kB / 0.5693 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.1582, allocations: 16 kB / 0.5693 GB, free: 7.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002986/0.1585, allocations: 214.5 kB / 0.5695 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.1586, allocations: 63.58 kB / 0.5696 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.1587, allocations: 68.41 kB / 0.5696 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.1588, allocations: 8 kB / 0.5697 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.1588, allocations: 0 / 0.5697 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.1588, allocations: 7.984 kB / 0.5697 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.1606, allocations: 1.281 MB / 0.5709 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.1606, allocations: 4 kB / 0.5709 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.1607, allocations: 48.84 kB / 0.571 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.475e-06/0.1607, allocations: 7.938 kB / 0.571 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.1607, allocations: 15.98 kB / 0.571 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.1608, allocations: 4 kB / 0.571 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.1608, allocations: 4 kB / 0.571 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.1618, allocations: 0.8244 MB / 0.5718 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1619, allocations: 132.7 kB / 0.5719 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.162, allocations: 15.98 kB / 0.5719 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.1623, allocations: 19.98 kB / 0.572 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.1624, allocations: 39.89 kB / 0.572 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.1624, allocations: 20 kB / 0.572 GB, free: 4.867 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005553/0.163, allocations: 490.8 kB / 0.5725 GB, free: 4.391 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.163, allocations: 0 / 0.5725 GB, free: 4.391 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005786/0.1636, allocations: 83.94 kB / 0.5726 GB, free: 4.309 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003001/0.1666, allocations: 1.737 MB / 0.5743 GB, free: 2.719 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006729/0.1672, allocations: 271.7 kB / 0.5745 GB, free: 2.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1673, allocations: 320 / 0.5745 GB, free: 2.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.1676, allocations: 139.7 kB / 0.5747 GB, free: 2.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.1686, allocations: 149.1 kB / 0.5748 GB, free: 2.184 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006368/0.175, allocations: 4.537 MB / 0.5792 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.1755, allocations: 0.859 MB / 0.5801 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.1758, allocations: 92.12 kB / 0.5802 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.1761, allocations: 187.4 kB / 0.5803 GB, free: 12.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.1761, allocations: 0 / 0.5803 GB, free: 12.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.2056, allocations: 11 MB / 0.5911 GB, free: 1.391 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.093/9.299, allocations: 10.69 kB / 0.5911 GB, free: 1.383 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.86062074394431] Failed to read output from testmodel.py, exit status != 0: ['time', 't_s.y[1]', 'd_t_s.y', 't_min.y[1]', 'd_t_min.y', 't_h.y[1]', 'd_t_h.y', 't_d.y[1]', 'd_t_d.y', 't_ms.y[1]', 'd_t_ms.y'] 9.72117072698893 9.733761244 9.585359927 Calling exit ...