Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_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.001268/0.001268, allocations: 106.1 kB / 15.98 MB, free: 6.348 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.001352/0.001352, allocations: 196.7 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.584/1.584, allocations: 205.1 MB / 222.8 MB, free: 4.719 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.3632/0.3632, allocations: 43.5 MB / 313.6 MB, free: 8.301 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.001711/0.001712, allocations: 67.91 kB / 382.3 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1409, allocations: 57.78 MB / 440.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00513/0.146, allocations: 2.344 MB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1488, allocations: 1.17 MB / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003966/0.1492, allocations: 7.938 kB / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008913/0.1501, allocations: 271.3 kB / 443.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007765/0.1509, allocations: 251.1 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009664/0.1519, allocations: 307.4 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007693/0.1527, allocations: 0.5024 MB / 444.9 MB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.1529, allocations: 65.27 kB / 445 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004504/0.1534, allocations: 239 kB / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005297/0.1539, allocations: 266.9 kB / 445.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-05/0.154, allocations: 16 kB / 445.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.1542, allocations: 63.97 kB / 445.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.1544, allocations: 107.6 kB / 445.7 MB, free: 8.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.1546, allocations: 182.7 kB / 445.9 MB, free: 8.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006836/0.1553, allocations: 390.4 kB / 446.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1553, allocations: 4 kB / 446.2 MB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1553, allocations: 0 / 446.2 MB, free: 8.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.1554, allocations: 4 kB / 446.2 MB, free: 8.215 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001506/0.1569, allocations: 0.7547 MB / 447 MB, free: 7.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/0.1569, allocations: 15.89 kB / 447 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.1571, allocations: 46.73 kB / 447.1 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.1572, allocations: 52.28 kB / 447.1 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.1579, allocations: 403.9 kB / 447.5 MB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.158, allocations: 12.38 kB / 447.5 MB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.158, allocations: 19.94 kB / 447.5 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.1585, allocations: 206.6 kB / 447.7 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.1585, allocations: 7.984 kB / 447.8 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.1586, allocations: 4 kB / 447.8 MB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.1586, allocations: 7.938 kB / 447.8 MB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.1589, allocations: 99.86 kB / 447.9 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.1602, allocations: 0.8526 MB / 448.7 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.1609, allocations: 293.3 kB / 449 MB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.1611, allocations: 96.25 kB / 449.1 MB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.1612, allocations: 4 kB / 449.1 MB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000604/0.1618, allocations: 223.5 kB / 449.3 MB, free: 4.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.304e-06/0.1618, allocations: 4 kB / 449.3 MB, free: 4.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002446/0.1643, allocations: 0.9844 MB / 450.3 MB, free: 3.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.1644, allocations: 158.2 kB / 450.5 MB, free: 3.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/0.1652, allocations: 0.6198 MB / 451.1 MB, free: 3.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.1652, allocations: 37.7 kB / 451.1 MB, free: 3.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.1654, allocations: 221 kB / 451.3 MB, free: 2.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.1656, allocations: 122.4 kB / 451.5 MB, free: 2.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.1657, allocations: 66.14 kB / 451.5 MB, free: 2.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.166, allocations: 374.8 kB / 451.9 MB, free: 2.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.1662, allocations: 96.83 kB / 452 MB, free: 2.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.1665, allocations: 184.8 kB / 452.2 MB, free: 1.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/0.1671, allocations: 296.8 kB / 452.4 MB, free: 1.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.1671, allocations: 8 kB / 452.5 MB, free: 1.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008681/0.168, allocations: 396.6 kB / 452.8 MB, free: 1.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.1681, allocations: 8 kB / 452.8 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1681, allocations: 0 / 452.8 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1681, allocations: 8 kB / 452.9 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.1684, allocations: 87.83 kB / 452.9 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.1685, allocations: 8.156 kB / 453 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.1687, allocations: 23.92 kB / 453 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.1687, allocations: 20 kB / 453 MB, free: 1.051 MB / 382.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.0002717/0.169, allocations: 208.2 kB / 453.2 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1691, allocations: 59.25 kB / 453.3 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.1693, allocations: 68.28 kB / 453.3 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.1693, allocations: 8 kB / 453.3 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.1693, allocations: 0 / 453.3 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1693, allocations: 7.984 kB / 453.3 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2692/0.4385, allocations: 1.251 MB / 454.6 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.4386, allocations: 2.656 kB / 454.6 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.4387, allocations: 50.97 kB / 454.6 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.4388, allocations: 6.641 kB / 454.6 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.4388, allocations: 17.53 kB / 454.7 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/0.4388, allocations: 6.375 kB / 454.7 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.4388, allocations: 9.188 kB / 454.7 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.4396, allocations: 0.8095 MB / 455.5 MB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.244e-05/0.4398, allocations: 124.5 kB / 455.6 MB, free: 47.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.4398, allocations: 15.66 kB / 455.6 MB, free: 47.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.4402, allocations: 17.92 kB / 455.6 MB, free: 47.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/0.4403, allocations: 37.69 kB / 455.7 MB, free: 47.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.4403, allocations: 22.66 kB / 455.7 MB, free: 47.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004251/0.4408, allocations: 458.1 kB / 456.1 MB, free: 47.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4408, allocations: 0 / 456.1 MB, free: 47.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005541/0.4413, allocations: 82.2 kB / 456.2 MB, free: 47.73 MB / 382.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.002073/0.4434, allocations: 1.727 MB / 458 MB, free: 46.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.4441, allocations: 315 kB / 458.3 MB, free: 46.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4441, allocations: 0 / 458.3 MB, free: 46.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.4444, allocations: 154 kB / 458.4 MB, free: 46.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.4454, allocations: 132.5 kB / 458.5 MB, free: 46.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/0.4508, allocations: 4.634 MB / 463.2 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.4512, allocations: 0.8501 MB / 464 MB, free: 43.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002826/0.4515, allocations: 81.7 kB / 464.1 MB, free: 43.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.4517, allocations: 174.5 kB / 464.3 MB, free: 43.49 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4517, allocations: 0 / 464.3 MB, free: 43.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.4798, allocations: 10.22 MB / 474.5 MB, free: 42.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.4801, allocations: 241.8 kB / 474.7 MB, free: 42.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.555, allocations: 4 kB / 474.7 MB, free: 42.04 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)