Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",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.00163/0.001635, allocations: 188.1 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.169/2.169, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00121/0.00121, allocations: 94.88 kB / 270.9 MB, free: 13.38 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.3515/0.3515, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004823, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1323, allocations: 58.87 MB / 490.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002766/0.1352, allocations: 1.379 MB / 491.7 MB, free: 7.832 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.137, allocations: 0.7344 MB / 492.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.1372, allocations: 0 / 492.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1375, allocations: 23.84 kB / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.1377, allocations: 43.88 kB / 492.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.1382, allocations: 75.78 kB / 492.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1384, allocations: 59.86 kB / 492.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.1385, allocations: 8.234 kB / 492.7 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1386, allocations: 39.83 kB / 492.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.028e-05/0.1387, allocations: 27.86 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.1387, allocations: 0 / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1389, allocations: 35.86 kB / 492.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.1389, allocations: 15.92 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.139, allocations: 37.64 kB / 492.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.1392, allocations: 84.09 kB / 492.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.1392, allocations: 0 / 492.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1392, allocations: 4 kB / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1392, allocations: 0 / 492.9 MB, free: 6.637 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006764/0.1399, allocations: 394.9 kB / 493.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.14, allocations: 8.031 kB / 493.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.1401, allocations: 34.55 kB / 493.3 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.1401, allocations: 11.86 kB / 493.3 MB, free: 6.141 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.1404, allocations: 202.9 kB / 493.5 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1405, allocations: 0 / 493.5 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.1405, allocations: 8 kB / 493.5 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.1407, allocations: 57.61 kB / 493.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1407, allocations: 0 / 493.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1408, allocations: 0 / 493.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1408, allocations: 4 kB / 493.6 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1409, allocations: 19.94 kB / 493.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.1414, allocations: 280.9 kB / 493.9 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.1416, allocations: 62.62 kB / 494 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1417, allocations: 0 / 494 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.1419, allocations: 75.5 kB / 494 MB, free: 5.328 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.142, allocations: 0 / 494 MB, free: 5.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007644/0.1427, allocations: 165.2 kB / 494.2 MB, free: 5.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.1428, allocations: 59.41 kB / 494.2 MB, free: 5.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1431, allocations: 174.1 kB / 494.4 MB, free: 4.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1431, allocations: 29.7 kB / 494.4 MB, free: 4.875 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.321e-05/0.1432, allocations: 162.6 kB / 494.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.1433, allocations: 23.66 kB / 494.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.1433, allocations: 0 / 494.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1434, allocations: 318.8 kB / 494.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.217e-05/0.1435, allocations: 19.98 kB / 495 MB, free: 4.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.1437, allocations: 37.66 kB / 495 MB, free: 4.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1438, allocations: 27.98 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1438, allocations: 3.938 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002944/0.1441, allocations: 97.7 kB / 495.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1441, allocations: 4 kB / 495.1 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1441, allocations: 7.891 kB / 495.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1442, allocations: 0 / 495.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1443, allocations: 19.98 kB / 495.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1444, allocations: 4.031 kB / 495.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.233e-05/0.1444, allocations: 4 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.1445, allocations: 7.984 kB / 495.2 MB, free: 4.129 MB / 330.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.0001471/0.1446, allocations: 125.8 kB / 495.3 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1447, allocations: 7.906 kB / 495.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.1447, allocations: 16.72 kB / 495.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1448, allocations: 3.953 kB / 495.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.1448, allocations: 3.984 kB / 495.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1448, allocations: 4 kB / 495.3 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006718/0.1455, allocations: 387.3 kB / 495.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1455, allocations: 0 / 495.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/0.1456, allocations: 15.89 kB / 495.7 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.1456, allocations: 4 kB / 495.7 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1456, allocations: 0 / 495.7 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1456, allocations: 240 / 495.7 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1456, allocations: 0 / 495.7 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.146, allocations: 225.9 kB / 495.9 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.1461, allocations: 89.02 kB / 496 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.1462, allocations: 4 kB / 496 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1463, allocations: 0 / 496 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1463, allocations: 7.984 kB / 496 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.1464, allocations: 8.375 kB / 496.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.1466, allocations: 139.2 kB / 496.2 MB, free: 2.988 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1466, allocations: 0 / 496.2 MB, free: 2.988 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003726/0.147, allocations: 20 kB / 496.2 MB, free: 2.969 MB / 330.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.002046/0.149, allocations: 1.175 MB / 497.4 MB, free: 1.824 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.1493, allocations: 59.89 kB / 497.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.1494, allocations: 4.062 kB / 497.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.1495, allocations: 31.92 kB / 497.5 MB, free: 1.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1499, allocations: 23.92 kB / 497.5 MB, free: 1.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.1516, allocations: 0.8439 MB / 498.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.152, allocations: 0.708 MB / 499.1 MB, free: 72 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-05/0.1521, allocations: 35.42 kB / 499.1 MB, free: 36 kB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1522, allocations: 0 / 499.1 MB, free: 36 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.731/2.883, allocations: 2.349 MB / 0.4897 GB, free: 13.69 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat