Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47",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.001547/0.001547, allocations: 183 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.111/2.111, 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.001186/0.001185, allocations: 90.92 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.5422/0.5422, allocations: 43.57 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007057/0.0007061, allocations: 19.98 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1443, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002937/0.1473, allocations: 1.39 MB / 491.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1493, allocations: 0.7267 MB / 492.4 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1495, allocations: 11.94 kB / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.1498, allocations: 27.84 kB / 492.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.1502, allocations: 51.86 kB / 492.5 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.1506, allocations: 67.78 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.1508, allocations: 67.78 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.151, allocations: 24.2 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1511, allocations: 35.86 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1512, allocations: 27.84 kB / 492.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.1513, allocations: 0 / 492.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.1514, allocations: 31.92 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.1515, allocations: 27.91 kB / 492.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.1516, allocations: 41.64 kB / 492.8 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.1518, allocations: 88.09 kB / 492.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1518, allocations: 0 / 492.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1519, allocations: 0 / 492.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1519, allocations: 4 kB / 492.9 MB, free: 8.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007398/0.1526, allocations: 438.2 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.1527, allocations: 8.031 kB / 493.4 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.1528, allocations: 42.48 kB / 493.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.1528, allocations: 11.81 kB / 493.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.1532, allocations: 206.8 kB / 493.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1532, allocations: 4 kB / 493.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.1532, allocations: 4 kB / 493.6 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.1535, allocations: 57.67 kB / 493.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1535, allocations: 0 / 493.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1535, allocations: 3.953 kB / 493.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1536, allocations: 0 / 493.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1537, allocations: 23.92 kB / 493.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.1542, allocations: 292.9 kB / 494 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.1545, allocations: 54.69 kB / 494.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.1545, allocations: 0 / 494.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.1548, allocations: 75.41 kB / 494.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.1548, allocations: 0 / 494.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008156/0.1557, allocations: 181 kB / 494.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.1557, allocations: 51.41 kB / 494.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.1561, allocations: 262.5 kB / 494.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.1562, allocations: 29.7 kB / 494.6 MB, free: 6.562 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1563, allocations: 170.5 kB / 494.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.1564, allocations: 23.7 kB / 494.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.1564, allocations: 4 kB / 494.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1565, allocations: 314.8 kB / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.766e-05/0.1566, allocations: 19.98 kB / 495.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1568, allocations: 41.64 kB / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.985e-05/0.1569, allocations: 24 kB / 495.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1569, allocations: 0 / 495.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003043/0.1572, allocations: 101.5 kB / 495.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1573, allocations: 4 kB / 495.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1573, allocations: 4 kB / 495.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.453e-05/0.1573, allocations: 0 / 495.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1575, allocations: 20.36 kB / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.1575, allocations: 0 / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.366e-05/0.1576, allocations: 15.97 kB / 495.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.1576, allocations: 4 kB / 495.4 MB, free: 5.809 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 (10): * Single equations (assignments): 10 * 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.000178/0.1578, allocations: 141.8 kB / 495.5 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1579, allocations: 15.77 kB / 495.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.241e-05/0.158, allocations: 21.39 kB / 495.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.158, allocations: 3.984 kB / 495.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.158, allocations: 4 kB / 495.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.158, allocations: 0 / 495.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007139/0.1587, allocations: 411.3 kB / 496 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1588, allocations: 0 / 496 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.1588, allocations: 8 kB / 496 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1588, allocations: 0 / 496 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1589, allocations: 0 / 496 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.1589, allocations: 4 kB / 496 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1589, allocations: 0 / 496 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.1593, allocations: 221.8 kB / 496.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-05/0.1594, allocations: 92.91 kB / 496.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.1594, allocations: 8 kB / 496.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1595, allocations: 0 / 496.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.1596, allocations: 7.984 kB / 496.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.1596, allocations: 4 kB / 496.3 MB, free: 4.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002738/0.1599, allocations: 204 kB / 496.5 MB, free: 4.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1599, allocations: 4 kB / 496.5 MB, free: 4.566 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003899/0.1603, allocations: 28 kB / 496.5 MB, free: 4.539 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002116/0.1625, allocations: 1.179 MB / 497.7 MB, free: 3.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.1628, allocations: 59.89 kB / 497.8 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.1629, allocations: 0 / 497.8 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.163, allocations: 32.11 kB / 497.8 MB, free: 3.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.1634, allocations: 23.98 kB / 497.8 MB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.1656, allocations: 1.035 MB / 498.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.1661, allocations: 0.7276 MB / 499.6 MB, free: 1.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.1662, allocations: 43.42 kB / 499.6 MB, free: 1.375 MB / 378.7 MB Notification: Performance of SimCode: time 1.734e-06/0.1662, allocations: 0 / 499.6 MB, free: 1.375 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.075/3.241, allocations: 2.733 MB / 0.4906 GB, free: 41.99 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat