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.0008405/0.0008406, allocations: 95.06 kB / 17 MB, free: 6.398 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.0009309/0.0009311, allocations: 177.2 kB / 17.89 MB, free: 5.945 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.424/1.424, allocations: 223.3 MB / 241.9 MB, free: 14.61 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.2357/0.2357, allocations: 44.23 MB / 337.2 MB, free: 2.562 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003389, allocations: 12 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 61.92 MB / 471.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00266/0.1386, allocations: 1.924 MB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1406, allocations: 1.205 MB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.1407, allocations: 11.94 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.1413, allocations: 263.3 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004184/0.1417, allocations: 235.1 kB / 475.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000804/0.1425, allocations: 324.6 kB / 475.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005607/0.1431, allocations: 450.5 kB / 476 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1433, allocations: 49.08 kB / 476.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.1436, allocations: 207.1 kB / 476.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.1438, allocations: 231.1 kB / 476.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.1439, allocations: 8 kB / 476.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.144, allocations: 39.98 kB / 476.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1442, allocations: 95.58 kB / 476.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.1442, allocations: 89.45 kB / 476.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.1446, allocations: 279.6 kB / 477 MB, free: 8.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1446, allocations: 0 / 477 MB, free: 8.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.051e-06/0.1446, allocations: 3.984 kB / 477 MB, free: 8.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.1446, allocations: 3.938 kB / 477 MB, free: 8.199 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.001048/0.1457, allocations: 0.697 MB / 477.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1457, allocations: 8.031 kB / 477.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.891e-05/0.1458, allocations: 46.55 kB / 477.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/0.1459, allocations: 51.34 kB / 477.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/0.1465, allocations: 379.1 kB / 478.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1465, allocations: 12 kB / 478.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.1466, allocations: 19.94 kB / 478.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.147, allocations: 194.8 kB / 478.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.147, allocations: 7.938 kB / 478.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.147, allocations: 7.984 kB / 478.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.147, allocations: 11.98 kB / 478.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.1473, allocations: 99.81 kB / 478.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009463/0.1482, allocations: 0.8565 MB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.1488, allocations: 285.3 kB / 479.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.149, allocations: 96.27 kB / 479.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.149, allocations: 11.98 kB / 479.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004427/0.1495, allocations: 231.5 kB / 480 MB, free: 4.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.484e-06/0.1495, allocations: 0 / 480 MB, free: 4.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002027/0.1515, allocations: 0.9731 MB / 481 MB, free: 3.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.5e-05/0.1516, allocations: 166.2 kB / 481.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006649/0.1523, allocations: 0.6159 MB / 481.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.1523, allocations: 37.7 kB / 481.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1525, allocations: 225 kB / 482 MB, free: 2.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.1526, allocations: 114.5 kB / 482.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/0.1526, allocations: 8 kB / 482.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1528, allocations: 370.8 kB / 482.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.153, allocations: 96.83 kB / 482.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.1533, allocations: 184.8 kB / 482.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.1536, allocations: 120.4 kB / 482.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1536, allocations: 0 / 482.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007993/0.1544, allocations: 396.6 kB / 483.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.1545, allocations: 8 kB / 483.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1545, allocations: 0 / 483.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/0.1545, allocations: 7.953 kB / 483.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.1548, allocations: 88.05 kB / 483.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.1549, allocations: 8 kB / 483.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.1551, allocations: 19.98 kB / 483.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.1551, allocations: 16 kB / 483.4 MB, free: 1.41 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 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.1554, allocations: 208.8 kB / 483.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.1555, allocations: 55.34 kB / 483.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.1556, allocations: 68.28 kB / 483.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.1556, allocations: 7.953 kB / 483.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.1557, allocations: 8 kB / 483.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.1557, allocations: 3.984 kB / 483.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.1574, allocations: 1.269 MB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.1574, allocations: 8 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.1575, allocations: 43.92 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.1576, allocations: 4 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.1576, allocations: 15.98 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.1576, allocations: 7.844 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1576, allocations: 4.156 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009191/0.1585, allocations: 0.8127 MB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1587, allocations: 132.4 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/0.1588, allocations: 19.98 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.1591, allocations: 19.98 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.1592, allocations: 43.84 kB / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.1592, allocations: 23.94 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004561/0.1597, allocations: 450.8 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1597, allocations: 0 / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000558/0.1603, allocations: 83.89 kB / 486.7 MB, free: 14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.1625, allocations: 1.723 MB / 488.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006579/0.1631, allocations: 283.7 kB / 488.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1631, allocations: 0 / 488.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.1634, allocations: 147.7 kB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.1645, allocations: 130.6 kB / 489 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.1686, allocations: 2.754 MB / 491.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.1691, allocations: 0.8476 MB / 492.6 MB, free: 8.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002729/0.1694, allocations: 87.33 kB / 492.7 MB, free: 8.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.1696, allocations: 175.4 kB / 492.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of SimCode: time 2.084e-06/0.1696, allocations: 0 / 492.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.1935, allocations: 9.631 MB / 0.4907 GB, free: 14.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.1938, allocations: 217.9 kB / 0.4909 GB, free: 14.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.222, allocations: 0 / 0.4909 GB, free: 14.2 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat