Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.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.CombiTable2D.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test29",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.001649/0.001653, allocations: 188.2 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.072/2.072, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001814/0.001815, allocations: 102.8 kB / 270.9 MB, free: 13.39 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3075/0.3075, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.8 MB Notification: Performance of FrontEnd - loaded program: time 0.000518/0.0005181, allocations: 16 kB / 431.5 MB, free: 20.17 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1292, allocations: 58.85 MB / 490.3 MB, free: 9.246 MB / 330.8 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.002733/0.132, allocations: 1.302 MB / 491.6 MB, free: 7.926 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009158/0.133, allocations: 279.8 kB / 491.9 MB, free: 7.648 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.1331, allocations: 0 / 491.9 MB, free: 7.648 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1334, allocations: 67.83 kB / 492 MB, free: 7.582 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1336, allocations: 51.81 kB / 492 MB, free: 7.531 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.1341, allocations: 95.8 kB / 492.1 MB, free: 7.438 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1343, allocations: 51.81 kB / 492.2 MB, free: 7.387 MB / 330.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1344, allocations: 20.17 kB / 492.2 MB, free: 7.367 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.1345, allocations: 19.92 kB / 492.2 MB, free: 7.348 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1346, allocations: 39.83 kB / 492.2 MB, free: 7.309 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1347, allocations: 0 / 492.2 MB, free: 7.309 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1348, allocations: 27.92 kB / 492.3 MB, free: 7.281 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.1349, allocations: 15.92 kB / 492.3 MB, free: 7.266 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.1349, allocations: 37.64 kB / 492.3 MB, free: 7.223 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1351, allocations: 68.17 kB / 492.4 MB, free: 7.156 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1351, allocations: 4 kB / 492.4 MB, free: 7.152 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1352, allocations: 4 kB / 492.4 MB, free: 7.148 MB / 330.8 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1352, allocations: 0 / 492.4 MB, free: 7.148 MB / 330.8 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.0006643/0.1358, allocations: 402.9 kB / 492.8 MB, free: 6.707 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1359, allocations: 8.031 kB / 492.8 MB, free: 6.699 MB / 330.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.136, allocations: 38.56 kB / 492.8 MB, free: 6.652 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.136, allocations: 15.77 kB / 492.8 MB, free: 6.637 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1363, allocations: 199.5 kB / 493 MB, free: 6.402 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1363, allocations: 4 kB / 493 MB, free: 6.398 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1364, allocations: 7.938 kB / 493.1 MB, free: 6.391 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.1366, allocations: 57.67 kB / 493.1 MB, free: 6.328 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1367, allocations: 0 / 493.1 MB, free: 6.328 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1367, allocations: 0 / 493.1 MB, free: 6.328 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.1367, allocations: 4 kB / 493.1 MB, free: 6.324 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.1369, allocations: 43.97 kB / 493.2 MB, free: 6.281 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.1375, allocations: 300.8 kB / 493.4 MB, free: 5.938 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.1377, allocations: 50.55 kB / 493.5 MB, free: 5.879 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1377, allocations: 0 / 493.5 MB, free: 5.879 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.1378, allocations: 34.56 kB / 493.5 MB, free: 5.836 MB / 330.8 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.1378, allocations: 0 / 493.5 MB, free: 5.836 MB / 330.8 MB Notification: Performance of matching and sorting (n=7): time 0.00129/0.1391, allocations: 253.1 kB / 493.8 MB, free: 5.582 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.1392, allocations: 51.41 kB / 493.8 MB, free: 5.52 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.1395, allocations: 207.3 kB / 494 MB, free: 5.305 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1395, allocations: 25.7 kB / 494.1 MB, free: 5.273 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1397, allocations: 166.6 kB / 494.2 MB, free: 5.109 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1397, allocations: 23.7 kB / 494.2 MB, free: 5.086 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.1397, allocations: 0 / 494.2 MB, free: 5.086 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1399, allocations: 318.8 kB / 494.6 MB, free: 4.766 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.1401, allocations: 35.97 kB / 494.6 MB, free: 4.73 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.1403, allocations: 48.11 kB / 494.6 MB, free: 4.684 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.1406, allocations: 43.97 kB / 494.7 MB, free: 4.641 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1406, allocations: 4 kB / 494.7 MB, free: 4.637 MB / 330.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005108/0.1411, allocations: 121.5 kB / 494.8 MB, free: 4.512 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1411, allocations: 7.938 kB / 494.8 MB, free: 4.504 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1412, allocations: 0 / 494.8 MB, free: 4.504 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.1412, allocations: 7.938 kB / 494.8 MB, free: 4.496 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.1414, allocations: 23.98 kB / 494.8 MB, free: 4.473 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1414, allocations: 4 kB / 494.8 MB, free: 4.469 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.1416, allocations: 11.94 kB / 494.9 MB, free: 4.457 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.1416, allocations: 11.92 kB / 494.9 MB, free: 4.445 MB / 330.8 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.0001577/0.1418, allocations: 129.8 kB / 495 MB, free: 4.309 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.1418, allocations: 7.906 kB / 495 MB, free: 4.301 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005833/0.1424, allocations: 147 kB / 495.1 MB, free: 4.152 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.1425, allocations: 7.953 kB / 495.2 MB, free: 4.145 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.1425, allocations: 0 / 495.2 MB, free: 4.145 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1425, allocations: 3.938 kB / 495.2 MB, free: 4.141 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000895/0.1434, allocations: 414.5 kB / 495.6 MB, free: 3.68 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1434, allocations: 4 kB / 495.6 MB, free: 3.676 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.1436, allocations: 23.98 kB / 495.6 MB, free: 3.652 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.1436, allocations: 4.234 kB / 495.6 MB, free: 3.648 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1436, allocations: 0 / 495.6 MB, free: 3.648 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.1437, allocations: 3.984 kB / 495.6 MB, free: 3.645 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1437, allocations: 0 / 495.6 MB, free: 3.645 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.1443, allocations: 235.2 kB / 495.8 MB, free: 3.398 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.1444, allocations: 85 kB / 495.9 MB, free: 3.297 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.1444, allocations: 11.95 kB / 495.9 MB, free: 3.285 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.1446, allocations: 15.98 kB / 495.9 MB, free: 3.27 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.1447, allocations: 7.984 kB / 495.9 MB, free: 3.262 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1447, allocations: 0 / 495.9 MB, free: 3.262 MB / 330.8 MB Notification: Performance of sorting global known variables: time 0.0002197/0.1449, allocations: 160.9 kB / 496.1 MB, free: 3.105 MB / 330.8 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1449, allocations: 0 / 496.1 MB, free: 3.105 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.0003596/0.1453, allocations: 19.98 kB / 496.1 MB, free: 3.086 MB / 330.8 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.002065/0.1474, allocations: 1.058 MB / 497.2 MB, free: 2.055 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.000559/0.148, allocations: 103.9 kB / 497.3 MB, free: 1.953 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.148, allocations: 0 / 497.3 MB, free: 1.953 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.1483, allocations: 47.91 kB / 497.3 MB, free: 1.906 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1487, allocations: 11.95 kB / 497.3 MB, free: 1.895 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.1508, allocations: 0.8231 MB / 498.2 MB, free: 1.023 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.1513, allocations: 0.7158 MB / 498.9 MB, free: 288 kB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.1514, allocations: 31.42 kB / 498.9 MB, free: 256 kB / 330.8 MB Notification: Performance of SimCode: time 1.022e-06/0.1514, allocations: 0 / 498.9 MB, free: 256 kB / 330.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.658/2.809, allocations: 2.252 MB / 0.4894 GB, free: 14 MB / 346.8 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat does not exist to compare? outputFormat=mat