Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19",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.001665/0.00167, allocations: 182.5 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.145/2.145, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001187/0.001187, allocations: 93.5 kB / 270.9 MB, free: 8.359 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.5363/0.5363, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004968, allocations: 16 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.14, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test19): time 0.003087/0.1432, allocations: 1.52 MB / 491.8 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1449, allocations: 0.511 MB / 492.3 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.1451, allocations: 0 / 492.3 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006138/0.1458, allocations: 235.5 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005081/0.1463, allocations: 175.5 kB / 492.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.148, allocations: 395.2 kB / 493.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005031/0.1485, allocations: 163.6 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.1487, allocations: 40.23 kB / 493.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.1489, allocations: 99.58 kB / 493.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.1492, allocations: 135.5 kB / 493.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.1492, allocations: 4 kB / 493.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.1494, allocations: 31.86 kB / 493.6 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.1496, allocations: 75.73 kB / 493.7 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.241e-05/0.1497, allocations: 57.58 kB / 493.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.1501, allocations: 199.8 kB / 493.9 MB, free: 7.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1501, allocations: 7.938 kB / 493.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1501, allocations: 0 / 493.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1501, allocations: 0 / 493.9 MB, free: 7.48 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009832/0.1511, allocations: 0.5791 MB / 494.5 MB, free: 6.855 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.1512, allocations: 12.03 kB / 494.5 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.1513, allocations: 34.56 kB / 494.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.619e-05/0.1514, allocations: 35.58 kB / 494.6 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.1518, allocations: 293.3 kB / 494.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1519, allocations: 11.94 kB / 494.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.1519, allocations: 7.938 kB / 494.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.1522, allocations: 81.66 kB / 495 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1522, allocations: 4 kB / 495 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1522, allocations: 4 kB / 495 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1523, allocations: 4 kB / 495 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.1525, allocations: 51.92 kB / 495 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008609/0.1534, allocations: 448.5 kB / 495.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1536, allocations: 62.55 kB / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.1536, allocations: 0 / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.1537, allocations: 34.56 kB / 495.6 MB, free: 5.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.657e-06/0.1537, allocations: 3.984 kB / 495.6 MB, free: 5.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005207/0.1542, allocations: 141.2 kB / 495.7 MB, free: 5.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1543, allocations: 51.41 kB / 495.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009318/0.1552, allocations: 0.537 MB / 496.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1553, allocations: 25.7 kB / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.1555, allocations: 238.7 kB / 496.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1555, allocations: 19.66 kB / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.1555, allocations: 0 / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1557, allocations: 318.8 kB / 496.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1558, allocations: 19.98 kB / 496.9 MB, free: 4.281 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-05/0.1559, allocations: 19.98 kB / 496.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.156, allocations: 23.98 kB / 497 MB, free: 4.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1561, allocations: 4 kB / 497 MB, free: 4.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002881/0.1564, allocations: 85.58 kB / 497 MB, free: 4.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1564, allocations: 7.984 kB / 497 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1564, allocations: 0 / 497 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1564, allocations: 0 / 497 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.1566, allocations: 12 kB / 497.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1566, allocations: 0 / 497.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.1567, allocations: 11.94 kB / 497.1 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1568, allocations: 7.984 kB / 497.1 MB, free: 4.105 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 (6): * Single equations (assignments): 6 * 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.0002278/0.157, allocations: 165.8 kB / 497.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.038e-05/0.1571, allocations: 39.48 kB / 497.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.1576, allocations: 141.2 kB / 497.4 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1576, allocations: 0 / 497.4 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1576, allocations: 0 / 497.4 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1576, allocations: 0 / 497.4 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.1582, allocations: 289.6 kB / 497.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1582, allocations: 0 / 497.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.1584, allocations: 16 kB / 497.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.1584, allocations: 3.953 kB / 497.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1584, allocations: 4 kB / 497.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1584, allocations: 0 / 497.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1584, allocations: 0 / 497.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.1588, allocations: 211 kB / 497.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.159, allocations: 124.7 kB / 498.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.159, allocations: 7.953 kB / 498.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1592, allocations: 4 kB / 498.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.1593, allocations: 4 kB / 498.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.1593, allocations: 3.938 kB / 498.1 MB, free: 3.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006793/0.16, allocations: 415.1 kB / 498.5 MB, free: 2.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.16, allocations: 0 / 498.5 MB, free: 2.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003995/0.1604, allocations: 35.84 kB / 498.5 MB, free: 2.574 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 (6): * Single equations (assignments): 6 * 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.002438/0.1628, allocations: 1.233 MB / 499.7 MB, free: 1.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.1632, allocations: 55.97 kB / 499.8 MB, free: 1.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1633, allocations: 3.938 kB / 499.8 MB, free: 1.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.1634, allocations: 27.98 kB / 499.8 MB, free: 1.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/0.1641, allocations: 61.47 kB / 499.9 MB, free: 1.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.344/0.5081, allocations: 1.7 MB / 0.4898 GB, free: 42.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.5085, allocations: 0.7941 MB / 0.4906 GB, free: 41.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.5087, allocations: 101.1 kB / 0.4907 GB, free: 41.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5087, allocations: 3.562 kB / 0.4907 GB, free: 41.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.884/3.393, allocations: 5.252 MB / 0.4958 GB, free: 41.41 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat does not exist to compare? outputFormat=mat