Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2",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.00154/0.001545, allocations: 183.9 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.071/2.071, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001148/0.001148, allocations: 99.53 kB / 270.9 MB, free: 8.367 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.5852/0.5852, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005203/0.0005207, allocations: 19.98 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1384, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002602/0.1411, allocations: 1.305 MB / 491.6 MB, free: 9.828 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008707/0.142, allocations: 283.8 kB / 491.9 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.1421, allocations: 0 / 491.9 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007635/0.1429, allocations: 435.2 kB / 492.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004556/0.1433, allocations: 235.6 kB / 492.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.1438, allocations: 107.7 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.1441, allocations: 111.8 kB / 492.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.859e-05/0.1442, allocations: 12.19 kB / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.1444, allocations: 103.8 kB / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.1447, allocations: 139.8 kB / 493 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.1447, allocations: 7.984 kB / 493 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1448, allocations: 23.94 kB / 493 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.145, allocations: 75.75 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.563e-05/0.145, allocations: 65.45 kB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.1454, allocations: 184 kB / 493.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1454, allocations: 0 / 493.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1454, allocations: 0 / 493.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1454, allocations: 0 / 493.4 MB, free: 8.07 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.0009647/0.1464, allocations: 0.5987 MB / 494 MB, free: 7.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1464, allocations: 8.031 kB / 494 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.1465, allocations: 38.56 kB / 494 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.1466, allocations: 39.48 kB / 494 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.147, allocations: 279.2 kB / 494.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.147, allocations: 0 / 494.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.147, allocations: 7.984 kB / 494.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.1472, allocations: 49.69 kB / 494.4 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1473, allocations: 0 / 494.4 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1473, allocations: 4 kB / 494.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1473, allocations: 7.938 kB / 494.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.1475, allocations: 31.94 kB / 494.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006293/0.1481, allocations: 392.6 kB / 494.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1484, allocations: 42.56 kB / 494.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1485, allocations: 0 / 494.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1485, allocations: 38.52 kB / 494.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.1485, allocations: 0 / 494.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009183/0.1494, allocations: 244 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.1495, allocations: 51.41 kB / 495.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.1508, allocations: 0.8613 MB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1509, allocations: 29.7 kB / 496.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.1511, allocations: 238.6 kB / 496.3 MB, free: 4.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.1512, allocations: 23.73 kB / 496.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.1512, allocations: 0 / 496.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1513, allocations: 314.8 kB / 496.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1515, allocations: 23.92 kB / 496.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1516, allocations: 27.98 kB / 496.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.1517, allocations: 31.98 kB / 496.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1518, allocations: 0 / 496.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003195/0.1521, allocations: 81.58 kB / 496.8 MB, free: 4.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.1521, allocations: 7.953 kB / 496.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1521, allocations: 0 / 496.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1522, allocations: 8 kB / 496.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1523, allocations: 11.98 kB / 496.8 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1523, allocations: 4 kB / 496.8 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.1524, allocations: 7.984 kB / 496.8 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1525, allocations: 0 / 496.8 MB, free: 4.383 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 (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.0003373/0.1528, allocations: 213.8 kB / 497 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.1529, allocations: 43.47 kB / 497.1 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000454/0.1534, allocations: 149 kB / 497.2 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1534, allocations: 0 / 497.2 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1534, allocations: 0 / 497.2 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1534, allocations: 4 kB / 497.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008667/0.1543, allocations: 466.3 kB / 497.7 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.1543, allocations: 4.234 kB / 497.7 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1545, allocations: 19.92 kB / 497.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.1545, allocations: 0 / 497.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1545, allocations: 4.312 kB / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.1545, allocations: 0 / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1545, allocations: 8 kB / 497.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.155, allocations: 219 kB / 497.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.1551, allocations: 116.5 kB / 498 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.1551, allocations: 0 / 498 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.1553, allocations: 15.98 kB / 498.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.1554, allocations: 3.938 kB / 498.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1554, allocations: 0 / 498.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001062/0.1565, allocations: 0.6589 MB / 498.7 MB, free: 2.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1565, allocations: 0 / 498.7 MB, free: 2.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003806/0.1569, allocations: 20 kB / 498.7 MB, free: 2.355 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 (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.001965/0.1589, allocations: 1.061 MB / 499.8 MB, free: 1.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003598/0.1593, allocations: 59.91 kB / 499.9 MB, free: 1.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1593, allocations: 0 / 499.9 MB, free: 1.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.1594, allocations: 27.98 kB / 499.9 MB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.1599, allocations: 25.89 kB / 499.9 MB, free: 1.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.312/0.4719, allocations: 2.25 MB / 0.4904 GB, free: 42.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.4724, allocations: 0.8352 MB / 0.4912 GB, free: 42.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.4727, allocations: 104.2 kB / 0.4913 GB, free: 42.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4727, allocations: 0 / 0.4913 GB, free: 42.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.664/3.137, allocations: 6.625 MB / 0.4978 GB, free: 40.79 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat does not exist to compare? outputFormat=mat