Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001644, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.266/2.266, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 106.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3056/0.3056, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004958, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1308, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00374/0.1346, allocations: 1.902 MB / 492.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00324/0.1379, allocations: 1.073 MB / 493.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.1383, allocations: 7.938 kB / 493.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000783/0.1391, allocations: 255.3 kB / 493.6 MB, free: 5.988 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000911/0.14, allocations: 239.4 kB / 493.8 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.1415, allocations: 303.3 kB / 494.1 MB, free: 5.457 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.1425, allocations: 331.3 kB / 494.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.1428, allocations: 45.08 kB / 494.4 MB, free: 5.086 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005722/0.1434, allocations: 199.2 kB / 494.6 MB, free: 4.891 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.1439, allocations: 207.2 kB / 494.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-05/0.1439, allocations: 8 kB / 494.9 MB, free: 4.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.1442, allocations: 35.97 kB / 494.9 MB, free: 4.645 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.1444, allocations: 95.64 kB / 495 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.1446, allocations: 97.38 kB / 495.1 MB, free: 4.449 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.1451, allocations: 275.6 kB / 495.3 MB, free: 4.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1452, allocations: 4 kB / 495.4 MB, free: 4.176 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1452, allocations: 0 / 495.4 MB, free: 4.176 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1452, allocations: 0 / 495.4 MB, free: 4.176 MB / 330.7 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.001793/0.147, allocations: 0.7009 MB / 496.1 MB, free: 3.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.1471, allocations: 8.031 kB / 496.1 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.1472, allocations: 46.48 kB / 496.1 MB, free: 3.363 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.1473, allocations: 51.39 kB / 496.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009418/0.1483, allocations: 379.1 kB / 496.5 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.1484, allocations: 12 kB / 496.5 MB, free: 2.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.1485, allocations: 27.86 kB / 496.6 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/0.1491, allocations: 193.8 kB / 496.8 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.1492, allocations: 3.906 kB / 496.8 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.1492, allocations: 11.98 kB / 496.8 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1492, allocations: 4 kB / 496.8 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.1497, allocations: 99.83 kB / 496.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.1513, allocations: 0.8488 MB / 497.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.1524, allocations: 289.7 kB / 498 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.878e-05/0.1525, allocations: 8.125 kB / 498 MB, free: 1.285 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007129/0.1533, allocations: 231.3 kB / 498.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 3.978e-06/0.1533, allocations: 4 kB / 498.2 MB, free: 1.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.003554/0.1569, allocations: 0.9729 MB / 499.2 MB, free: 44 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.1571, allocations: 158.2 kB / 499.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.1583, allocations: 0.612 MB / 500 MB, free: 15.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.1585, allocations: 37.7 kB / 0.4883 GB, free: 15.19 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.1587, allocations: 247.5 kB / 0.4885 GB, free: 14.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.1589, allocations: 122.4 kB / 0.4886 GB, free: 14.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.159, allocations: 4 kB / 0.4887 GB, free: 14.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1592, allocations: 338.8 kB / 0.489 GB, free: 14.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.1596, allocations: 96.83 kB / 0.4891 GB, free: 14.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.1601, allocations: 180.8 kB / 0.4892 GB, free: 14.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.1606, allocations: 124.3 kB / 0.4894 GB, free: 14.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1606, allocations: 0 / 0.4894 GB, free: 14.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001263/0.1619, allocations: 353.3 kB / 0.4897 GB, free: 13.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.162, allocations: 4 kB / 0.4897 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.162, allocations: 4 kB / 0.4897 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.162, allocations: 7.938 kB / 0.4897 GB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.1626, allocations: 79.91 kB / 0.4898 GB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.1627, allocations: 7.984 kB / 0.4898 GB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.1631, allocations: 16.44 kB / 0.4898 GB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.1632, allocations: 24.02 kB / 0.4898 GB, free: 13.56 MB / 346.7 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.0004292/0.1636, allocations: 224.2 kB / 0.49 GB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.1638, allocations: 59.25 kB / 0.4901 GB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.164, allocations: 68.28 kB / 0.4902 GB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.1641, allocations: 8 kB / 0.4902 GB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.1641, allocations: 7.938 kB / 0.4902 GB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.1641, allocations: 0 / 0.4902 GB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.167, allocations: 1.261 MB / 0.4914 GB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.517e-06/0.167, allocations: 4.031 kB / 0.4914 GB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.1673, allocations: 51.92 kB / 0.4915 GB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.1674, allocations: 4 kB / 0.4915 GB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/0.1674, allocations: 19.94 kB / 0.4915 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.938e-05/0.1675, allocations: 7.938 kB / 0.4915 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.1675, allocations: 0 / 0.4915 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.1692, allocations: 0.9136 MB / 0.4924 GB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.1695, allocations: 140.3 kB / 0.4925 GB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.1696, allocations: 19.98 kB / 0.4925 GB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/0.1702, allocations: 19.98 kB / 0.4926 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.1704, allocations: 39.91 kB / 0.4926 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/0.1705, allocations: 20 kB / 0.4926 GB, free: 10.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000872/0.1714, allocations: 450.8 kB / 0.4931 GB, free: 10.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.585e-06/0.1714, allocations: 0 / 0.4931 GB, free: 10.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009681/0.1724, allocations: 83.92 kB / 0.4931 GB, free: 9.988 MB / 346.7 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.003811/0.1762, allocations: 2.457 MB / 0.4955 GB, free: 7.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.1775, allocations: 280.3 kB / 0.4958 GB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.1775, allocations: 0 / 0.4958 GB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006277/0.1782, allocations: 152.3 kB / 0.4959 GB, free: 7.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.1796, allocations: 123.4 kB / 0.4961 GB, free: 6.973 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008309/0.188, allocations: 4.087 MB / 0.5001 GB, free: 2.758 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/0.1887, allocations: 0.8592 MB / 0.5009 GB, free: 1.875 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004729/0.1892, allocations: 175.4 kB / 0.5011 GB, free: 1.703 MB / 346.7 MB Notification: Performance of SimCode: time 1.563e-06/0.1892, allocations: 0 / 0.5011 GB, free: 1.703 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.289/3.478, allocations: 8.199 MB / 0.5091 GB, free: 9.504 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat