Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",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.001548/0.001553, allocations: 183.8 kB / 16.4 MB, free: 5.75 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.173/2.173, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001621/0.001621, allocations: 101.2 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6374/0.6374, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006147/0.0006148, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.145, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002663/0.1477, allocations: 1.359 MB / 491.7 MB, free: 9.766 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1495, allocations: 0.7227 MB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.387e-05/0.1497, allocations: 0 / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.15, allocations: 31.84 kB / 492.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.1503, allocations: 47.86 kB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.1507, allocations: 71.8 kB / 492.5 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1509, allocations: 63.84 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.151, allocations: 7.984 kB / 492.6 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1511, allocations: 43.83 kB / 492.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.584e-05/0.1513, allocations: 27.86 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.1513, allocations: 4 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1514, allocations: 16 kB / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.82e-05/0.1515, allocations: 31.89 kB / 492.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.1516, allocations: 37.64 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.1518, allocations: 88.05 kB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1518, allocations: 0 / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1518, allocations: 0 / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.1518, allocations: 0 / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006851/0.1525, allocations: 418.7 kB / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.1526, allocations: 8.031 kB / 493.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.1526, allocations: 30.56 kB / 493.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.1527, allocations: 15.81 kB / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.153, allocations: 210.7 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1531, allocations: 4 kB / 493.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.1531, allocations: 4 kB / 493.5 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.1533, allocations: 49.66 kB / 493.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1533, allocations: 0 / 493.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1533, allocations: 7.953 kB / 493.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1533, allocations: 7.938 kB / 493.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1535, allocations: 15.98 kB / 493.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.1537, allocations: 185.6 kB / 493.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.154, allocations: 58.55 kB / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.154, allocations: 0 / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.1543, allocations: 71.48 kB / 493.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.1543, allocations: 0 / 493.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004686/0.1548, allocations: 93.52 kB / 494 MB, free: 7.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.1549, allocations: 55.36 kB / 494.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.1553, allocations: 258.5 kB / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1553, allocations: 25.7 kB / 494.3 MB, free: 6.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1554, allocations: 170.6 kB / 494.5 MB, free: 6.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.1555, allocations: 27.72 kB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.1555, allocations: 4 kB / 494.5 MB, free: 6.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1557, allocations: 310.8 kB / 494.8 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.1558, allocations: 15.98 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.934e-05/0.1559, allocations: 21.72 kB / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.668e-05/0.156, allocations: 19.98 kB / 494.9 MB, free: 6.293 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.156, allocations: 0 / 494.9 MB, free: 6.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002548/0.1563, allocations: 77.88 kB / 495 MB, free: 6.211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1563, allocations: 4 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.1563, allocations: 64 / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.1564, allocations: 8 kB / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1565, allocations: 8 kB / 495 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1565, allocations: 7.938 kB / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.314e-05/0.1566, allocations: 11.84 kB / 495 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1566, allocations: 0 / 495 MB, free: 6.172 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001825/0.1568, allocations: 145.8 kB / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.1569, allocations: 11.91 kB / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.15e-05/0.157, allocations: 16.98 kB / 495.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.157, allocations: 4 kB / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.157, allocations: 0 / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.157, allocations: 3.953 kB / 495.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.1572, allocations: 193.6 kB / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1572, allocations: 0 / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.1573, allocations: 4 kB / 495.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1573, allocations: 3.938 kB / 495.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1573, allocations: 0 / 495.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1573, allocations: 4 kB / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1573, allocations: 4 kB / 495.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.1577, allocations: 112.9 kB / 495.5 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.319e-05/0.1578, allocations: 88.92 kB / 495.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.1578, allocations: 7.922 kB / 495.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.1579, allocations: 4 kB / 495.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.1579, allocations: 0 / 495.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.158, allocations: 8 kB / 495.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002782/0.1582, allocations: 204 kB / 495.8 MB, free: 5.273 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1583, allocations: 0 / 495.8 MB, free: 5.273 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003464/0.1586, allocations: 20 kB / 495.8 MB, free: 5.254 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001805/0.1604, allocations: 0.9537 MB / 496.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.1608, allocations: 35.92 kB / 496.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1608, allocations: 0 / 496.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.161, allocations: 23.98 kB / 496.8 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1613, allocations: 19.98 kB / 496.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.1634, allocations: 0.9957 MB / 497.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.1639, allocations: 0.7121 MB / 498.6 MB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.164, allocations: 39.42 kB / 498.6 MB, free: 2.414 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.164, allocations: 3.938 kB / 498.6 MB, free: 2.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.038/3.202, allocations: 2.505 MB / 0.4894 GB, free: 42.36 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat