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.001675/0.001675, allocations: 111.1 kB / 17.21 MB, free: 6.285 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.002167/0.002167, allocations: 190 kB / 18.12 MB, free: 5.379 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.559/1.559, allocations: 222.9 MB / 241.8 MB, free: 15.41 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.2389/0.2389, allocations: 44.17 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 62.11 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1286, allocations: 60.83 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003724/0.1324, allocations: 2.343 MB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.1345, allocations: 1.275 MB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.1347, allocations: 3.938 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.1352, allocations: 271.3 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004825/0.1357, allocations: 247.1 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008346/0.1366, allocations: 350.9 kB / 473.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005691/0.1372, allocations: 498.5 kB / 473.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.1373, allocations: 49.03 kB / 473.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.1377, allocations: 219 kB / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.138, allocations: 255 kB / 474.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.138, allocations: 12 kB / 474.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.1382, allocations: 51.91 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1383, allocations: 91.59 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.1385, allocations: 178.7 kB / 474.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.1389, allocations: 378.8 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1389, allocations: 0 / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1389, allocations: 0 / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.1389, allocations: 0 / 474.8 MB, free: 8.531 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.001146/0.1401, allocations: 0.7631 MB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1402, allocations: 11.97 kB / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.499e-05/0.1402, allocations: 46.73 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.1403, allocations: 52.28 kB / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.1408, allocations: 403.9 kB / 476.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1409, allocations: 12.31 kB / 476.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.1409, allocations: 27.84 kB / 476.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.1413, allocations: 199.6 kB / 476.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1413, allocations: 0 / 476.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.1414, allocations: 8 kB / 476.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1414, allocations: 4 kB / 476.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.1416, allocations: 103.8 kB / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008974/0.1425, allocations: 0.845 MB / 477.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.1432, allocations: 293.2 kB / 477.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.1434, allocations: 92.25 kB / 477.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.1434, allocations: 16 kB / 477.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004512/0.1439, allocations: 223.4 kB / 477.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.1439, allocations: 7.938 kB / 477.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002031/0.1459, allocations: 0.9849 MB / 478.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.146, allocations: 158.2 kB / 479 MB, free: 3.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007742/0.1468, allocations: 0.6198 MB / 479.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.1468, allocations: 37.7 kB / 479.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.147, allocations: 221.1 kB / 479.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.1472, allocations: 122.4 kB / 480 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1473, allocations: 70.12 kB / 480.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1474, allocations: 370.8 kB / 480.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.1477, allocations: 96.83 kB / 480.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.148, allocations: 188.8 kB / 480.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.1484, allocations: 296.5 kB / 481 MB, free: 1.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1484, allocations: 0 / 481 MB, free: 1.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00075/0.1492, allocations: 404.6 kB / 481.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1492, allocations: 12.16 kB / 481.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1492, allocations: 0 / 481.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1493, allocations: 4 kB / 481.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.1496, allocations: 92.2 kB / 481.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.1496, allocations: 4 kB / 481.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.1498, allocations: 23.91 kB / 481.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.1499, allocations: 20 kB / 481.6 MB, free: 1.352 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.0002645/0.1501, allocations: 204.3 kB / 481.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.1502, allocations: 63.28 kB / 481.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.1504, allocations: 63.91 kB / 481.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1504, allocations: 4 kB / 481.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.1504, allocations: 4 kB / 481.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.1504, allocations: 3.984 kB / 481.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.1522, allocations: 1.261 MB / 483.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.1522, allocations: 7.938 kB / 483.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.1523, allocations: 47.92 kB / 483.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.1524, allocations: 8.156 kB / 483.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.1524, allocations: 19.92 kB / 483.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.1524, allocations: 4 kB / 483.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.1524, allocations: 7.938 kB / 483.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.1535, allocations: 0.8044 MB / 484.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.1537, allocations: 128.4 kB / 484.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.61e-05/0.1537, allocations: 19.88 kB / 484.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.1541, allocations: 19.98 kB / 484.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.1542, allocations: 31.95 kB / 484.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.1543, allocations: 23.98 kB / 484.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005387/0.1548, allocations: 454.8 kB / 484.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1548, allocations: 0 / 484.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005932/0.1554, allocations: 87.98 kB / 484.8 MB, free: 13.97 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.002594/0.158, allocations: 1.728 MB / 486.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007163/0.1588, allocations: 291.6 kB / 486.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1588, allocations: 0 / 486.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.1591, allocations: 148.4 kB / 487 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.1603, allocations: 142.1 kB / 487.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006444/0.1667, allocations: 4.623 MB / 491.7 MB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.1673, allocations: 0.8476 MB / 492.6 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002962/0.1676, allocations: 83.38 kB / 492.7 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.1678, allocations: 171.4 kB / 492.8 MB, free: 5.887 MB / 366.1 MB Notification: Performance of SimCode: time 1.372e-06/0.1678, allocations: 0 / 492.8 MB, free: 5.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.371/0.5388, allocations: 9.974 MB / 0.491 GB, free: 12.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/0.5392, allocations: 234.9 kB / 0.4912 GB, free: 11.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/2.689, allocations: 3.938 kB / 0.4912 GB, free: 11.81 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)