Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 242.2 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2366/0.2366, allocations: 44.19 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 71.66 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.15, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004935/0.155, allocations: 2.311 MB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.1577, allocations: 1.278 MB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.158, allocations: 7.938 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006399/0.1587, allocations: 283 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006477/0.1594, allocations: 270.8 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.1604, allocations: 370.3 kB / 473.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007438/0.1611, allocations: 0.5063 MB / 474.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.1613, allocations: 57.06 kB / 474.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/0.1617, allocations: 243 kB / 474.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.1621, allocations: 251 kB / 474.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-05/0.1622, allocations: 16 kB / 474.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1623, allocations: 59.97 kB / 475 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.1625, allocations: 111.5 kB / 475.1 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.1627, allocations: 170.7 kB / 475.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005231/0.1632, allocations: 390.8 kB / 475.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1633, allocations: 0 / 475.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1633, allocations: 4 kB / 475.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.1633, allocations: 0 / 475.6 MB, free: 7.945 MB / 350.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.001152/0.1645, allocations: 0.7552 MB / 476.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1645, allocations: 12.03 kB / 476.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.1646, allocations: 46.73 kB / 476.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.1647, allocations: 52.28 kB / 476.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.1652, allocations: 407.9 kB / 476.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.1652, allocations: 8.375 kB / 476.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.1653, allocations: 19.84 kB / 476.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.1657, allocations: 205.8 kB / 477.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1658, allocations: 0 / 477.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.1658, allocations: 12 kB / 477.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1658, allocations: 4 kB / 477.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.1661, allocations: 95.86 kB / 477.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009919/0.1671, allocations: 0.8488 MB / 478.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/0.1677, allocations: 289.2 kB / 478.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.1679, allocations: 100.2 kB / 478.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.168, allocations: 8 kB / 478.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005083/0.1685, allocations: 227.9 kB / 478.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.394e-06/0.1685, allocations: 3.938 kB / 478.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00193/0.1704, allocations: 0.9793 MB / 479.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.1705, allocations: 162.2 kB / 479.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007922/0.1713, allocations: 0.6237 MB / 480.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.1714, allocations: 37.7 kB / 480.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.1716, allocations: 217.1 kB / 480.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.1717, allocations: 122.3 kB / 480.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1719, allocations: 70.14 kB / 480.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.172, allocations: 366.8 kB / 481.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.1723, allocations: 100.8 kB / 481.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.1726, allocations: 184.9 kB / 481.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.1731, allocations: 304.7 kB / 481.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1731, allocations: 0 / 481.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007605/0.1739, allocations: 410.6 kB / 482.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1739, allocations: 7.938 kB / 482.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1739, allocations: 4 kB / 482.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1739, allocations: 4 kB / 482.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.1742, allocations: 83.89 kB / 482.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.1743, allocations: 7.938 kB / 482.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.1745, allocations: 23.92 kB / 482.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.1745, allocations: 20.16 kB / 482.4 MB, free: 0.7695 MB / 350.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.000209/0.1747, allocations: 204.3 kB / 482.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.1748, allocations: 51.34 kB / 482.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.1749, allocations: 67.91 kB / 482.7 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1749, allocations: 4 kB / 482.7 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.175, allocations: 4 kB / 482.7 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.175, allocations: 3.984 kB / 482.7 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.1765, allocations: 1.261 MB / 484 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.1765, allocations: 4.031 kB / 484 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1766, allocations: 51.92 kB / 484 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.1767, allocations: 8 kB / 484 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.1767, allocations: 23.91 kB / 484.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1767, allocations: 4 kB / 484.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1767, allocations: 0 / 484.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009235/0.1776, allocations: 0.8123 MB / 484.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/0.1778, allocations: 132.4 kB / 485 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.1778, allocations: 15.88 kB / 485 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.1782, allocations: 19.98 kB / 485 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.1783, allocations: 39.89 kB / 485.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.1783, allocations: 19.98 kB / 485.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004607/0.1788, allocations: 454.8 kB / 485.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1788, allocations: 0 / 485.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005463/0.1793, allocations: 87.98 kB / 485.6 MB, free: 13.39 MB / 366.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.002136/0.1815, allocations: 1.727 MB / 487.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006255/0.1821, allocations: 299.6 kB / 487.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1821, allocations: 0 / 487.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.1824, allocations: 149.3 kB / 487.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.1835, allocations: 147.9 kB / 487.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005665/0.1892, allocations: 4.513 MB / 492.5 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.1897, allocations: 0.8512 MB / 493.3 MB, free: 5.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.19, allocations: 75.41 kB / 493.4 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.1902, allocations: 175.4 kB / 493.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1902, allocations: 0 / 493.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.2219, allocations: 10.41 MB / 0.4922 GB, free: 11.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.022, allocations: 6.797 kB / 0.4922 GB, free: 11.13 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)