Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1",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.002367/0.002368, allocations: 189.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.212/2.212, 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.001164/0.001163, allocations: 102.8 kB / 270.9 MB, free: 13.37 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.3004/0.3004, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004789, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1499, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002495/0.1524, allocations: 1.298 MB / 491.6 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.1533, allocations: 283.8 kB / 491.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.1533, allocations: 4 kB / 491.9 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007623/0.1541, allocations: 431.2 kB / 492.3 MB, free: 7.219 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.1546, allocations: 243.4 kB / 492.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.1551, allocations: 95.88 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.1553, allocations: 115.8 kB / 492.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.1554, allocations: 12.17 kB / 492.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.1556, allocations: 99.78 kB / 492.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.1559, allocations: 143.8 kB / 493 MB, free: 6.523 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.1559, allocations: 0 / 493 MB, free: 6.523 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.156, allocations: 27.91 kB / 493 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.1562, allocations: 83.69 kB / 493.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.1563, allocations: 65.52 kB / 493.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.1566, allocations: 176 kB / 493.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1566, allocations: 0 / 493.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1566, allocations: 0 / 493.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1566, allocations: 4 kB / 493.4 MB, free: 6.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009308/0.1576, allocations: 0.591 MB / 494 MB, free: 5.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.1576, allocations: 12.03 kB / 494 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.1577, allocations: 38.55 kB / 494 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.1578, allocations: 43.39 kB / 494.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.1582, allocations: 275.3 kB / 494.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1582, allocations: 0 / 494.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.1582, allocations: 4 kB / 494.3 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.1584, allocations: 57.62 kB / 494.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1585, allocations: 0 / 494.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1585, allocations: 0 / 494.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1585, allocations: 4 kB / 494.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.1587, allocations: 27.97 kB / 494.4 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.1593, allocations: 396.6 kB / 494.8 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.1596, allocations: 42.56 kB / 494.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1596, allocations: 4 kB / 494.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1597, allocations: 30.56 kB / 494.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.1597, allocations: 0 / 494.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009447/0.1607, allocations: 247.9 kB / 495.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.1607, allocations: 59.39 kB / 495.2 MB, free: 4.168 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.1621, allocations: 0.8652 MB / 496 MB, free: 3.293 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.1622, allocations: 25.7 kB / 496.1 MB, free: 3.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.1624, allocations: 242.5 kB / 496.3 MB, free: 3.023 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.1625, allocations: 23.66 kB / 496.3 MB, free: 3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.1625, allocations: 0 / 496.3 MB, free: 3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1627, allocations: 314.8 kB / 496.6 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1628, allocations: 23.98 kB / 496.7 MB, free: 2.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.163, allocations: 23.98 kB / 496.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1631, allocations: 20 kB / 496.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1631, allocations: 3.938 kB / 496.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003454/0.1635, allocations: 89.66 kB / 496.8 MB, free: 2.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.1635, allocations: 7.438 kB / 496.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1635, allocations: 4.25 kB / 496.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.1636, allocations: 3.953 kB / 496.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1637, allocations: 16 kB / 496.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1637, allocations: 3.984 kB / 496.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.1638, allocations: 7.938 kB / 496.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1639, allocations: 0 / 496.8 MB, free: 2.48 MB / 330.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 (5): * Single equations (assignments): 5 * 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.0003139/0.1642, allocations: 221.8 kB / 497 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.714e-05/0.1643, allocations: 43.44 kB / 497.1 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.1648, allocations: 133.1 kB / 497.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.1648, allocations: 3.953 kB / 497.2 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1648, allocations: 8 kB / 497.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1648, allocations: 3.938 kB / 497.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008374/0.1657, allocations: 466.4 kB / 497.7 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1657, allocations: 4 kB / 497.7 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.1658, allocations: 12 kB / 497.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.1658, allocations: 7.953 kB / 497.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1658, allocations: 0 / 497.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1659, allocations: 0 / 497.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.1659, allocations: 3.984 kB / 497.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.1663, allocations: 222.9 kB / 497.9 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.1665, allocations: 112.6 kB / 498 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.1665, allocations: 3.953 kB / 498.1 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.1667, allocations: 8.188 kB / 498.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.1667, allocations: 3.984 kB / 498.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.1667, allocations: 8 kB / 498.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001025/0.1678, allocations: 0.6511 MB / 498.7 MB, free: 496 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1678, allocations: 0 / 498.7 MB, free: 496 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.000382/0.1682, allocations: 28 kB / 498.7 MB, free: 468 kB / 330.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 (5): * Single equations (assignments): 5 * 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.001942/0.1701, allocations: 1.049 MB / 499.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.1706, allocations: 59.84 kB / 499.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1706, allocations: 0 / 499.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1707, allocations: 28.11 kB / 499.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.1712, allocations: 25.91 kB / 499.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/0.176, allocations: 2.256 MB / 0.4904 GB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.1766, allocations: 0.834 MB / 0.4912 GB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.1768, allocations: 95.41 kB / 0.4913 GB, free: 12.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1768, allocations: 4 kB / 0.4913 GB, free: 12.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.654/2.831, allocations: 6.631 MB / 0.4978 GB, free: 5.395 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat does not exist to compare? outputFormat=mat