Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27",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.001695/0.001701, allocations: 185.3 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.143/2.143, 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.001182/0.001182, allocations: 100.6 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.5357/0.5357, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005035, allocations: 20 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1398, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002814/0.1427, allocations: 1.301 MB / 491.6 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1438, allocations: 295.7 kB / 491.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.1439, allocations: 0 / 491.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.1442, allocations: 55.86 kB / 492 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.1445, allocations: 51.81 kB / 492 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.1452, allocations: 135.8 kB / 492.1 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.1454, allocations: 43.94 kB / 492.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1455, allocations: 27.83 kB / 492.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.1456, allocations: 27.84 kB / 492.2 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1457, allocations: 31.91 kB / 492.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1458, allocations: 0 / 492.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1459, allocations: 31.86 kB / 492.3 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.146, allocations: 11.98 kB / 492.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.1461, allocations: 37.64 kB / 492.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1463, allocations: 68.11 kB / 492.4 MB, free: 9.012 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1463, allocations: 4 kB / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1463, allocations: 0 / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1463, allocations: 0 / 492.4 MB, free: 9.008 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.0007207/0.147, allocations: 402.8 kB / 492.8 MB, free: 8.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.287e-05/0.1471, allocations: 12.02 kB / 492.8 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.418e-05/0.1472, allocations: 38.56 kB / 492.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.1473, allocations: 11.86 kB / 492.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.1476, allocations: 194.9 kB / 493.1 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1476, allocations: 4 kB / 493.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1476, allocations: 4 kB / 493.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1479, allocations: 61.67 kB / 493.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1479, allocations: 0 / 493.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.148, allocations: 4 kB / 493.1 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.148, allocations: 4 kB / 493.1 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.1483, allocations: 51.86 kB / 493.2 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.1489, allocations: 316.8 kB / 493.5 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.1492, allocations: 50.56 kB / 493.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.1493, allocations: 4.094 kB / 493.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1493, allocations: 34.55 kB / 493.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 5.651e-06/0.1493, allocations: 0 / 493.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001712/0.151, allocations: 265.1 kB / 493.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.1512, allocations: 59.34 kB / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.1516, allocations: 182.2 kB / 494.1 MB, free: 7.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.1516, allocations: 29.7 kB / 494.1 MB, free: 7.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1518, allocations: 166.5 kB / 494.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.1518, allocations: 27.66 kB / 494.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.1518, allocations: 0 / 494.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.152, allocations: 310.8 kB / 494.6 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.1523, allocations: 47.95 kB / 494.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.1525, allocations: 51.97 kB / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.1528, allocations: 43.97 kB / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1528, allocations: 0 / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005718/0.1534, allocations: 141.7 kB / 494.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.1534, allocations: 7.953 kB / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1534, allocations: 0 / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1535, allocations: 0 / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.1537, allocations: 31.92 kB / 494.9 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1537, allocations: 3.938 kB / 494.9 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.1539, allocations: 15.98 kB / 494.9 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.1539, allocations: 0 / 494.9 MB, free: 6.258 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.0001821/0.1541, allocations: 129.8 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.1542, allocations: 20.09 kB / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.1548, allocations: 154.3 kB / 495.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.1549, allocations: 7.984 kB / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.1549, allocations: 0 / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1549, allocations: 3.938 kB / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.156, allocations: 426.9 kB / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.156, allocations: 3.953 kB / 495.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1562, allocations: 23.98 kB / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.1562, allocations: 0 / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.1562, allocations: 0 / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.1563, allocations: 4 kB / 495.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1563, allocations: 3.984 kB / 495.7 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006446/0.1569, allocations: 235.3 kB / 495.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.1571, allocations: 100.9 kB / 496 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.1571, allocations: 4 kB / 496 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1573, allocations: 15.98 kB / 496.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.1573, allocations: 11.98 kB / 496.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.1574, allocations: 0 / 496.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002232/0.1576, allocations: 140.1 kB / 496.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1576, allocations: 0 / 496.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007155/0.1584, allocations: 23.98 kB / 496.2 MB, free: 4.875 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.002286/0.1607, allocations: 1.076 MB / 497.3 MB, free: 3.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006274/0.1614, allocations: 107.9 kB / 497.4 MB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1614, allocations: 0 / 497.4 MB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.1617, allocations: 55.91 kB / 497.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.1621, allocations: 19.98 kB / 497.5 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.1644, allocations: 0.8075 MB / 498.3 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.1649, allocations: 0.7121 MB / 499 MB, free: 2.035 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.165, allocations: 27.42 kB / 499 MB, free: 2.008 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/0.165, allocations: 0 / 499 MB, free: 2.008 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.234/3.399, allocations: 2.267 MB / 0.4895 GB, free: 42.64 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat does not exist to compare? outputFormat=mat