Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001577/0.001584, allocations: 184 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.079/2.079, 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.001161/0.00116, allocations: 96.34 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.525/0.525, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004683, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1337, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002468/0.1363, allocations: 1.305 MB / 491.6 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008748/0.1372, allocations: 291.8 kB / 491.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.1372, allocations: 4 kB / 491.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.1375, allocations: 63.83 kB / 492 MB, free: 9.461 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.1378, allocations: 55.81 kB / 492 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.1384, allocations: 139.7 kB / 492.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1385, allocations: 51.86 kB / 492.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1387, allocations: 23.84 kB / 492.2 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.875e-05/0.1387, allocations: 31.91 kB / 492.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1389, allocations: 35.83 kB / 492.3 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1389, allocations: 4 kB / 492.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-05/0.139, allocations: 19.94 kB / 492.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.1391, allocations: 23.91 kB / 492.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.1391, allocations: 37.64 kB / 492.4 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1393, allocations: 84.09 kB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1393, allocations: 0 / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1394, allocations: 0 / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1394, allocations: 0 / 492.5 MB, free: 8.957 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006295/0.14, allocations: 406.8 kB / 492.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1401, allocations: 8.031 kB / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.1401, allocations: 34.56 kB / 492.9 MB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.1402, allocations: 15.77 kB / 492.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.1404, allocations: 199.6 kB / 493.1 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1405, allocations: 0 / 493.1 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.1405, allocations: 7.938 kB / 493.1 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1407, allocations: 61.67 kB / 493.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1408, allocations: 0 / 493.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1408, allocations: 0 / 493.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1408, allocations: 4 kB / 493.2 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.1411, allocations: 59.89 kB / 493.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005832/0.1417, allocations: 308.9 kB / 493.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.1419, allocations: 62.48 kB / 493.6 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.142, allocations: 0 / 493.6 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.142, allocations: 30.56 kB / 493.6 MB, free: 7.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.142, allocations: 0 / 493.6 MB, free: 7.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0013/0.1433, allocations: 280.9 kB / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1434, allocations: 51.41 kB / 494 MB, free: 7.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.1437, allocations: 218.3 kB / 494.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1437, allocations: 25.7 kB / 494.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.327e-05/0.1438, allocations: 162.6 kB / 494.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.1439, allocations: 27.72 kB / 494.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.1439, allocations: 4 kB / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1441, allocations: 318.8 kB / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.1443, allocations: 43.97 kB / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.1445, allocations: 47.97 kB / 494.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.1448, allocations: 43.97 kB / 494.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1448, allocations: 4 kB / 494.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007079/0.1455, allocations: 137.5 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.1456, allocations: 7.953 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1456, allocations: 4 kB / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1456, allocations: 4 kB / 495 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.1459, allocations: 19.98 kB / 495 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1459, allocations: 0 / 495 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.1461, allocations: 23.92 kB / 495 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1461, allocations: 0 / 495 MB, free: 6.168 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001948/0.1463, allocations: 133.8 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.1464, allocations: 11.91 kB / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009043/0.1473, allocations: 166.9 kB / 495.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.1474, allocations: 4 kB / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1474, allocations: 0 / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1474, allocations: 0 / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.1485, allocations: 434.8 kB / 495.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1485, allocations: 3.953 kB / 495.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.1487, allocations: 23.98 kB / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1488, allocations: 0 / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1488, allocations: 4 kB / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1488, allocations: 0 / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1488, allocations: 4 kB / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008525/0.1497, allocations: 247.3 kB / 496 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1498, allocations: 92.95 kB / 496.1 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.1499, allocations: 0 / 496.1 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.1501, allocations: 12 kB / 496.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.1502, allocations: 15.92 kB / 496.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1503, allocations: 0 / 496.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000311/0.1506, allocations: 159.2 kB / 496.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.1506, allocations: 4 kB / 496.3 MB, free: 4.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005675/0.1512, allocations: 20 kB / 496.3 MB, free: 4.75 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.002903/0.1541, allocations: 1.077 MB / 497.4 MB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005692/0.1547, allocations: 111.9 kB / 497.5 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1548, allocations: 0 / 497.5 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.155, allocations: 55.95 kB / 497.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1554, allocations: 12 kB / 497.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.159, allocations: 0.8651 MB / 498.5 MB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.1596, allocations: 0.7238 MB / 499.2 MB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.1598, allocations: 31.42 kB / 499.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1598, allocations: 0 / 499.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.163/3.322, allocations: 2.366 MB / 0.4898 GB, free: 42.51 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat does not exist to compare? outputFormat=mat