Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test78",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.001675/0.00168, allocations: 184.4 kB / 16.4 MB, free: 5.746 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.171/2.171, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001209/0.001209, allocations: 103.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.6267/0.6267, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004936, allocations: 20 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1469, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00316/0.1501, allocations: 1.515 MB / 491.8 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1524, allocations: 0.8124 MB / 492.6 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.1526, allocations: 7.938 kB / 492.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.1533, allocations: 243.4 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000522/0.1538, allocations: 163.6 kB / 493 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006617/0.1545, allocations: 127.7 kB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.155, allocations: 155.7 kB / 493.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1552, allocations: 29.52 kB / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.1554, allocations: 115.6 kB / 493.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.1557, allocations: 131.6 kB / 493.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.1558, allocations: 4 kB / 493.6 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.156, allocations: 31.94 kB / 493.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1561, allocations: 63.8 kB / 493.7 MB, free: 7.727 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.135e-05/0.1562, allocations: 53.58 kB / 493.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.1566, allocations: 160 kB / 493.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1566, allocations: 0 / 493.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1566, allocations: 4 kB / 493.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1566, allocations: 0 / 493.9 MB, free: 7.508 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001057/0.1577, allocations: 0.5251 MB / 494.4 MB, free: 6.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.1578, allocations: 16.03 kB / 494.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.413e-05/0.1578, allocations: 30.56 kB / 494.5 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.1579, allocations: 31.61 kB / 494.5 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.1585, allocations: 267.1 kB / 494.8 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.1585, allocations: 11.94 kB / 494.8 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.1586, allocations: 4 kB / 494.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.1589, allocations: 95.34 kB / 494.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1589, allocations: 0 / 494.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.159, allocations: 7.953 kB / 494.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.159, allocations: 4 kB / 494.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.1592, allocations: 35.97 kB / 494.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007794/0.16, allocations: 460.8 kB / 495.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.1605, allocations: 117.4 kB / 495.5 MB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.1606, allocations: 7.953 kB / 495.5 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004082/0.161, allocations: 117.1 kB / 495.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.187e-06/0.161, allocations: 0 / 495.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001437/0.1624, allocations: 368.2 kB / 496 MB, free: 5.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.1626, allocations: 81.11 kB / 496.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008007/0.1634, allocations: 485.6 kB / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.1634, allocations: 29.7 kB / 496.6 MB, free: 4.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1636, allocations: 198.8 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.492e-05/0.1637, allocations: 51.3 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.1637, allocations: 4 kB / 496.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1639, allocations: 322.8 kB / 497.1 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.1641, allocations: 39.94 kB / 497.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1643, allocations: 71.41 kB / 497.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.1646, allocations: 56.11 kB / 497.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1646, allocations: 4 kB / 497.3 MB, free: 3.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005456/0.1652, allocations: 149.5 kB / 497.4 MB, free: 3.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.1652, allocations: 11.92 kB / 497.4 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1652, allocations: 4.188 kB / 497.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.1653, allocations: 0 / 497.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.1655, allocations: 35.98 kB / 497.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1656, allocations: 0 / 497.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.1657, allocations: 12.06 kB / 497.5 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.1658, allocations: 8 kB / 497.5 MB, free: 3.641 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002767/0.1661, allocations: 181.6 kB / 497.7 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.1661, allocations: 31.62 kB / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.1663, allocations: 38.81 kB / 497.7 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.1663, allocations: 4 kB / 497.8 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.1663, allocations: 3.938 kB / 497.8 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.1663, allocations: 3.984 kB / 497.8 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.1676, allocations: 0.6281 MB / 498.4 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.1677, allocations: 0 / 498.4 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.1678, allocations: 19.98 kB / 498.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.1678, allocations: 0 / 498.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.1679, allocations: 8 kB / 498.4 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.495e-06/0.1679, allocations: 4 kB / 498.4 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.1679, allocations: 7.891 kB / 498.4 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007474/0.1687, allocations: 400.7 kB / 498.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.1688, allocations: 108.7 kB / 498.9 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.1689, allocations: 8 kB / 498.9 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.1691, allocations: 7.984 kB / 498.9 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/0.1692, allocations: 15.98 kB / 499 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.1693, allocations: 8 kB / 499 MB, free: 2.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005884/0.1699, allocations: 359.1 kB / 499.3 MB, free: 1.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1699, allocations: 0 / 499.3 MB, free: 1.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005298/0.1704, allocations: 43.89 kB / 499.4 MB, free: 1.652 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002551/0.173, allocations: 1.52 MB / 0.4891 GB, free: 144 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005598/0.1736, allocations: 111.9 kB / 0.4892 GB, free: 32 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1737, allocations: 4.125 kB / 0.4892 GB, free: 28 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3261/0.4997, allocations: 54.5 kB / 0.4893 GB, free: 43.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006985/0.5005, allocations: 54.59 kB / 0.4894 GB, free: 43.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.5048, allocations: 2.054 MB / 0.4914 GB, free: 42.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.5052, allocations: 0.7768 MB / 0.4921 GB, free: 41.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.5055, allocations: 90.2 kB / 0.4922 GB, free: 41.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.442e-06/0.5055, allocations: 3.906 kB / 0.4922 GB, free: 41.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.769/3.274, allocations: 4.694 MB / 0.4968 GB, free: 41.01 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat