Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",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.001322/0.001322, allocations: 99.67 kB / 15.98 MB, free: 6.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.001215/0.001215, allocations: 194.1 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 222.8 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4011/0.4011, allocations: 43.5 MB / 313.6 MB, free: 8.574 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 67.91 kB / 382.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.147, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.005159/0.1522, allocations: 1.85 MB / 442 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1541, allocations: 0.8703 MB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.1543, allocations: 0 / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.1549, allocations: 287.4 kB / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.1553, allocations: 199.5 kB / 443.3 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.1558, allocations: 135.8 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.1562, allocations: 231.4 kB / 443.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.618e-05/0.1563, allocations: 17.55 kB / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.1565, allocations: 135.5 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.1568, allocations: 200 kB / 444 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.1568, allocations: 4 kB / 444 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.157, allocations: 43.98 kB / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.1571, allocations: 128.6 kB / 444.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.1573, allocations: 146.8 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005378/0.1578, allocations: 354.9 kB / 444.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1578, allocations: 4 kB / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1578, allocations: 0 / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1579, allocations: 4 kB / 444.7 MB, free: 10.02 MB / 382.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.001156/0.159, allocations: 0.7151 MB / 445.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.1591, allocations: 19.88 kB / 445.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.1591, allocations: 30.75 kB / 445.4 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.1592, allocations: 48.38 kB / 445.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007932/0.16, allocations: 447.7 kB / 445.9 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.1601, allocations: 12.34 kB / 445.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.1601, allocations: 11.94 kB / 445.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1603, allocations: 79.38 kB / 446 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1604, allocations: 0 / 446 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1604, allocations: 7.984 kB / 446 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1604, allocations: 0 / 446 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1605, allocations: 31.92 kB / 446.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.161, allocations: 370.4 kB / 446.4 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.1613, allocations: 105.2 kB / 446.5 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.247e-05/0.1614, allocations: 37.7 kB / 446.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1614, allocations: 7.938 kB / 446.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/0.1617, allocations: 105.1 kB / 446.7 MB, free: 7.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1618, allocations: 0 / 446.7 MB, free: 7.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005191/0.1623, allocations: 193 kB / 446.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.1624, allocations: 81.11 kB / 446.9 MB, free: 7.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.1635, allocations: 1.011 MB / 448 MB, free: 6.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1635, allocations: 29.64 kB / 448 MB, free: 6.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.1637, allocations: 236 kB / 448.2 MB, free: 6.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.1638, allocations: 35.62 kB / 448.2 MB, free: 6.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.1639, allocations: 21.72 kB / 448.3 MB, free: 6.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.164, allocations: 370.8 kB / 448.6 MB, free: 5.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/0.1641, allocations: 27.92 kB / 448.7 MB, free: 5.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1643, allocations: 59.41 kB / 448.7 MB, free: 5.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.1645, allocations: 87.36 kB / 448.8 MB, free: 5.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1645, allocations: 8.375 kB / 448.8 MB, free: 5.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003303/0.1648, allocations: 173 kB / 449 MB, free: 5.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1648, allocations: 8 kB / 449 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1648, allocations: 0 / 449 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1649, allocations: 0 / 449 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.165, allocations: 27.92 kB / 449 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.165, allocations: 0 / 449 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.1651, allocations: 7.906 kB / 449 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1651, allocations: 8 kB / 449 MB, free: 5.363 MB / 382.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.0002591/0.1654, allocations: 225.8 kB / 449.3 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.46e-05/0.1655, allocations: 47.34 kB / 449.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.1657, allocations: 55.84 kB / 449.4 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1657, allocations: 4 kB / 449.4 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1657, allocations: 0 / 449.4 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1657, allocations: 0 / 449.4 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.1661, allocations: 341.3 kB / 449.7 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1661, allocations: 4 kB / 449.7 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.1662, allocations: 7.938 kB / 449.7 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.1662, allocations: 4 kB / 449.7 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.1662, allocations: 0 / 449.7 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1662, allocations: 4 kB / 449.7 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1662, allocations: 4 kB / 449.7 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.1666, allocations: 205.2 kB / 449.9 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.1668, allocations: 136.4 kB / 450 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.1669, allocations: 4 kB / 450.1 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.167, allocations: 4 kB / 450.1 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.167, allocations: 15.98 kB / 450.1 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.1671, allocations: 4 kB / 450.1 MB, free: 4.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001163/0.1682, allocations: 0.7488 MB / 450.8 MB, free: 3.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.1682, allocations: 3.938 kB / 450.8 MB, free: 3.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.1686, allocations: 47.98 kB / 450.9 MB, free: 3.422 MB / 382.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.001973/0.1706, allocations: 1.057 MB / 451.9 MB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.1709, allocations: 91.77 kB / 452 MB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1709, allocations: 0 / 452 MB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.171, allocations: 35.98 kB / 452.1 MB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.1715, allocations: 74.67 kB / 452.1 MB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2301/0.4017, allocations: 4.575 MB / 456.7 MB, free: 47.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.402, allocations: 0.8356 MB / 457.5 MB, free: 46.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.4022, allocations: 53.64 kB / 457.6 MB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.4024, allocations: 149.9 kB / 457.7 MB, free: 46.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4025, allocations: 0 / 457.7 MB, free: 46.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.4255, allocations: 8.473 MB / 466.2 MB, free: 45.62 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.4258, allocations: 245.2 kB / 466.4 MB, free: 45.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.395, allocations: 0 / 466.4 MB, free: 45.36 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)