Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",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.001615/0.001615, allocations: 100.2 kB / 15.98 MB, free: 6.352 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.002078/0.002078, allocations: 197.3 kB / 16.91 MB, free: 6.191 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.593/1.593, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.3494/0.3494, allocations: 43.5 MB / 313.6 MB, free: 8.523 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.001576/0.001576, allocations: 71.89 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1543, allocations: 57.77 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003669/0.158, allocations: 1.854 MB / 442 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1597, allocations: 0.8664 MB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.1599, allocations: 0 / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006419/0.1605, allocations: 299.4 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.1609, allocations: 199.5 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.1613, allocations: 131.8 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.1617, allocations: 239.4 kB / 443.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.237e-05/0.1617, allocations: 25.53 kB / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.1619, allocations: 127.5 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.1622, allocations: 199.5 kB / 444 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1623, allocations: 8 kB / 444 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1624, allocations: 43.98 kB / 444.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.1626, allocations: 147.5 kB / 444.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.1627, allocations: 150.8 kB / 444.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.1632, allocations: 355 kB / 444.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.1632, allocations: 4 kB / 444.7 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1632, allocations: 0 / 444.7 MB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1632, allocations: 0 / 444.7 MB, free: 10 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.0009957/0.1642, allocations: 0.7345 MB / 445.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1643, allocations: 15.89 kB / 445.5 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.804e-05/0.1643, allocations: 30.75 kB / 445.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.298e-05/0.1644, allocations: 44.38 kB / 445.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.165, allocations: 459.7 kB / 446 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.165, allocations: 4.375 kB / 446 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1651, allocations: 7.938 kB / 446 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.1653, allocations: 83.36 kB / 446.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1653, allocations: 0 / 446.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1653, allocations: 0 / 446.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1653, allocations: 4 kB / 446.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1654, allocations: 39.91 kB / 446.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.1659, allocations: 366.4 kB / 446.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.1662, allocations: 109.2 kB / 446.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.572e-05/0.1663, allocations: 45.64 kB / 446.6 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1663, allocations: 4 kB / 446.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003229/0.1666, allocations: 109 kB / 446.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.1666, allocations: 0 / 446.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004812/0.1671, allocations: 204.9 kB / 446.9 MB, free: 7.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.1672, allocations: 81.11 kB / 447 MB, free: 7.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.1684, allocations: 1.034 MB / 448.1 MB, free: 6.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.1684, allocations: 33.7 kB / 448.1 MB, free: 6.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.1686, allocations: 232 kB / 448.3 MB, free: 6.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.1687, allocations: 31.64 kB / 448.3 MB, free: 6.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.1687, allocations: 21.72 kB / 448.4 MB, free: 6.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.1689, allocations: 374.8 kB / 448.7 MB, free: 5.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1691, allocations: 27.98 kB / 448.8 MB, free: 5.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1692, allocations: 59.41 kB / 448.8 MB, free: 5.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1693, allocations: 79.36 kB / 448.9 MB, free: 5.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.1694, allocations: 11.94 kB / 448.9 MB, free: 5.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002959/0.1697, allocations: 168.9 kB / 449.1 MB, free: 5.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1697, allocations: 4 kB / 449.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1697, allocations: 0 / 449.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1697, allocations: 4 kB / 449.1 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1698, allocations: 23.92 kB / 449.1 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1699, allocations: 4.625 kB / 449.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/0.17, allocations: 15.81 kB / 449.1 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.17, allocations: 12.06 kB / 449.1 MB, free: 5.281 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.000217/0.1702, allocations: 221.7 kB / 449.3 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.1703, allocations: 47.34 kB / 449.4 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.452e-05/0.1704, allocations: 64 kB / 449.5 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1704, allocations: 4 kB / 449.5 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.1704, allocations: 4 kB / 449.5 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1704, allocations: 3.984 kB / 449.5 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.1707, allocations: 341.3 kB / 449.8 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1707, allocations: 0 / 449.8 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.1708, allocations: 15.94 kB / 449.8 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.1708, allocations: 7.984 kB / 449.8 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1708, allocations: 0 / 449.8 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1708, allocations: 0 / 449.8 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1708, allocations: 4 kB / 449.8 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.1712, allocations: 193.3 kB / 450 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.1713, allocations: 140.4 kB / 450.2 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.1714, allocations: 11.98 kB / 450.2 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.1714, allocations: 4 kB / 450.2 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.1715, allocations: 7.984 kB / 450.2 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.1715, allocations: 8 kB / 450.2 MB, free: 4.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007821/0.1723, allocations: 0.7721 MB / 451 MB, free: 3.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1723, allocations: 0 / 451 MB, free: 3.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.1726, allocations: 40 kB / 451 MB, free: 3.316 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.001526/0.1741, allocations: 1.069 MB / 452.1 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.1744, allocations: 83.84 kB / 452.1 MB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1744, allocations: 0 / 452.1 MB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.1745, allocations: 36.11 kB / 452.2 MB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.175, allocations: 78.05 kB / 452.3 MB, free: 2.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2085/0.3835, allocations: 4.677 MB / 456.9 MB, free: 47.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.3838, allocations: 0.847 MB / 457.8 MB, free: 46.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000149/0.384, allocations: 50.91 kB / 457.8 MB, free: 46.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.3841, allocations: 143.1 kB / 458 MB, free: 46.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3841, allocations: 0 / 458 MB, free: 46.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.4024, allocations: 8.644 MB / 466.6 MB, free: 46.11 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.4026, allocations: 238.1 kB / 466.9 MB, free: 45.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.491, allocations: 3.375 kB / 466.9 MB, free: 45.85 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)