Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",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.001079/0.001079, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001222/0.001222, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.45/1.45, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2148/0.2148, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 67.25 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1463, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004314/0.1506, allocations: 1.789 MB / 471.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1525, allocations: 0.9549 MB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.1528, allocations: 4 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007644/0.1536, allocations: 307.3 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006236/0.1542, allocations: 219.3 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007084/0.155, allocations: 162.7 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005314/0.1555, allocations: 243.4 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.1556, allocations: 9.562 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.1559, allocations: 131.5 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.1563, allocations: 191.6 kB / 473.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.1564, allocations: 4 kB / 473.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.1566, allocations: 47.94 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.1569, allocations: 127.6 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.1571, allocations: 146.8 kB / 473.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006553/0.1578, allocations: 370.9 kB / 474 MB, free: 9.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1578, allocations: 0 / 474 MB, free: 9.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1578, allocations: 0 / 474 MB, free: 9.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1579, allocations: 0 / 474 MB, free: 9.582 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001635/0.1595, allocations: 0.7269 MB / 474.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.695e-05/0.1596, allocations: 8.031 kB / 474.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.541e-05/0.1597, allocations: 34.75 kB / 474.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.1599, allocations: 52.28 kB / 474.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009528/0.1608, allocations: 451.9 kB / 475.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1609, allocations: 4.375 kB / 475.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.1609, allocations: 7.875 kB / 475.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1612, allocations: 95.28 kB / 475.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1612, allocations: 0 / 475.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.1612, allocations: 0 / 475.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.1613, allocations: 0 / 475.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.1614, allocations: 31.97 kB / 475.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007018/0.1622, allocations: 382.4 kB / 475.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.1626, allocations: 109.1 kB / 475.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.1627, allocations: 41.7 kB / 476 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1628, allocations: 0 / 476 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004053/0.1632, allocations: 112.9 kB / 476.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.1632, allocations: 0 / 476.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007331/0.164, allocations: 197 kB / 476.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.1641, allocations: 85.11 kB / 476.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.1658, allocations: 1.034 MB / 477.4 MB, free: 6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.1659, allocations: 25.7 kB / 477.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.1662, allocations: 232.1 kB / 477.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.1662, allocations: 31.56 kB / 477.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.153e-05/0.1663, allocations: 29.7 kB / 477.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.1666, allocations: 366.8 kB / 478 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.1667, allocations: 31.98 kB / 478.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.1669, allocations: 59.34 kB / 478.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.1672, allocations: 83.42 kB / 478.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.1672, allocations: 3.938 kB / 478.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005055/0.1677, allocations: 173.5 kB / 478.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1678, allocations: 8 kB / 478.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1678, allocations: 3.938 kB / 478.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.1678, allocations: 0 / 478.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.168, allocations: 27.98 kB / 478.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.168, allocations: 0 / 478.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1682, allocations: 7.906 kB / 478.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.1683, allocations: 4 kB / 478.4 MB, free: 4.879 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003496/0.1686, allocations: 237.6 kB / 478.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.1687, allocations: 51.34 kB / 478.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.1689, allocations: 56 kB / 478.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1689, allocations: 4 kB / 478.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1689, allocations: 3.938 kB / 478.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1689, allocations: 0 / 478.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.1694, allocations: 345.4 kB / 479.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1694, allocations: 0 / 479.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.1695, allocations: 8 kB / 479.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1695, allocations: 4 kB / 479.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.1695, allocations: 7.984 kB / 479.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1696, allocations: 0 / 479.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1696, allocations: 3.938 kB / 479.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/0.1701, allocations: 201.2 kB / 479.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.1703, allocations: 132.5 kB / 479.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/0.1704, allocations: 4 kB / 479.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.1706, allocations: 23.91 kB / 479.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.1706, allocations: 4 kB / 479.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.1707, allocations: 7.984 kB / 479.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001175/0.1719, allocations: 0.7643 MB / 480.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1719, allocations: 0 / 480.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004814/0.1724, allocations: 47.98 kB / 480.3 MB, free: 2.895 MB / 350.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.00219/0.1746, allocations: 1.047 MB / 481.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.175, allocations: 87.89 kB / 481.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.175, allocations: 0 / 481.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.1752, allocations: 39.92 kB / 481.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.1759, allocations: 78.69 kB / 481.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008714/0.1846, allocations: 4.634 MB / 486.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.1853, allocations: 0.8464 MB / 487 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.1855, allocations: 58.94 kB / 487.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.1858, allocations: 147.4 kB / 487.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1858, allocations: 4 kB / 487.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.2277, allocations: 8.765 MB / 496 MB, free: 3.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.85, allocations: 11.31 kB / 496 MB, free: 3.293 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)