Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test2",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.001536/0.00154, allocations: 182.2 kB / 16.4 MB, free: 5.754 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.132/2.132, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001194/0.001194, allocations: 101.2 kB / 270.9 MB, free: 8.363 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.5249/0.5249, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005078, allocations: 16 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1432, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002766/0.146, allocations: 1.386 MB / 491.7 MB, free: 9.727 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1479, allocations: 0.7344 MB / 492.4 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.99e-05/0.148, allocations: 3.938 kB / 492.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.1483, allocations: 31.83 kB / 492.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.1486, allocations: 39.89 kB / 492.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.149, allocations: 79.77 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.1492, allocations: 55.88 kB / 492.6 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1493, allocations: 12.22 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1494, allocations: 47.83 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.765e-05/0.1495, allocations: 19.86 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1495, allocations: 0 / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.1497, allocations: 31.92 kB / 492.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.311e-05/0.1498, allocations: 15.92 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.808e-05/0.1498, allocations: 33.7 kB / 492.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1501, allocations: 80.09 kB / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1501, allocations: 3.938 kB / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1501, allocations: 0 / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1501, allocations: 0 / 492.9 MB, free: 8.531 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.0006547/0.1508, allocations: 398.9 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.1508, allocations: 8.031 kB / 493.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.333e-05/0.1509, allocations: 34.56 kB / 493.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.151, allocations: 11.89 kB / 493.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1513, allocations: 191.5 kB / 493.5 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1513, allocations: 4 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1513, allocations: 0 / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.1515, allocations: 57.61 kB / 493.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1516, allocations: 4 kB / 493.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.1516, allocations: 7.938 kB / 493.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1516, allocations: 4 kB / 493.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1517, allocations: 12 kB / 493.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.1522, allocations: 288.8 kB / 493.9 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.1525, allocations: 62.61 kB / 494 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.1525, allocations: 4 kB / 494 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.1528, allocations: 75.47 kB / 494 MB, free: 7.219 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.234e-06/0.1528, allocations: 0 / 494 MB, free: 7.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008457/0.1537, allocations: 161.3 kB / 494.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/0.1538, allocations: 51.41 kB / 494.2 MB, free: 6.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.154, allocations: 163 kB / 494.4 MB, free: 6.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.1541, allocations: 29.7 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.807e-05/0.1542, allocations: 162.6 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.1542, allocations: 27.64 kB / 494.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.1543, allocations: 0 / 494.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1544, allocations: 314.8 kB / 494.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.475e-05/0.1545, allocations: 23.92 kB / 494.9 MB, free: 6.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1547, allocations: 37.64 kB / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.1548, allocations: 32.06 kB / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1548, allocations: 0 / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003036/0.1551, allocations: 97.53 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.1551, allocations: 7.984 kB / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1552, allocations: 3.938 kB / 495.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1552, allocations: 0 / 495.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1553, allocations: 19.94 kB / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1554, allocations: 0 / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.491e-05/0.1555, allocations: 4 kB / 495.1 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.1555, allocations: 12.02 kB / 495.2 MB, free: 6.035 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.0001809/0.1557, allocations: 121.8 kB / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.1557, allocations: 11.86 kB / 495.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.84e-05/0.1558, allocations: 16.7 kB / 495.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.1558, allocations: 3.984 kB / 495.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1558, allocations: 0 / 495.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1559, allocations: 4 kB / 495.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007124/0.1566, allocations: 391.3 kB / 495.7 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1566, allocations: 4 kB / 495.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.1567, allocations: 8 kB / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.1567, allocations: 0 / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1567, allocations: 3.938 kB / 495.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1567, allocations: 0 / 495.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1567, allocations: 4 kB / 495.7 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.1571, allocations: 217.9 kB / 495.9 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.1572, allocations: 89.02 kB / 496 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.1572, allocations: 4 kB / 496 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1574, allocations: 0 / 496 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.1574, allocations: 7.984 kB / 496 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.1575, allocations: 4 kB / 496 MB, free: 5.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1576, allocations: 128.5 kB / 496.1 MB, free: 4.926 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1576, allocations: 4 kB / 496.2 MB, free: 4.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004366/0.1581, allocations: 27.98 kB / 496.2 MB, free: 4.895 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.00207/0.1602, allocations: 1.171 MB / 497.3 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.1605, allocations: 71.88 kB / 497.4 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1606, allocations: 0 / 497.4 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1607, allocations: 23.94 kB / 497.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.1611, allocations: 28.09 kB / 497.5 MB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.1629, allocations: 0.8144 MB / 498.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.1633, allocations: 0.7043 MB / 499 MB, free: 2.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.684e-05/0.1634, allocations: 31.42 kB / 499 MB, free: 1.992 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.1634, allocations: 0 / 499 MB, free: 1.992 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.971/3.134, allocations: 2.308 MB / 0.4896 GB, free: 42.64 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat