Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_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.002463/0.002462, allocations: 188.5 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.326/2.326, 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.001756/0.001756, allocations: 94.81 kB / 270.9 MB, free: 13.38 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.2893/0.2893, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006039/0.0006041, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1364, allocations: 58.86 MB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test27): time 0.002533/0.139, allocations: 1.306 MB / 491.6 MB, free: 7.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008451/0.1399, allocations: 275.8 kB / 491.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.14, allocations: 0 / 491.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.1403, allocations: 55.86 kB / 492 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.1405, allocations: 51.75 kB / 492 MB, free: 7.531 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.1409, allocations: 87.88 kB / 492.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.1411, allocations: 51.88 kB / 492.1 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1412, allocations: 8.172 kB / 492.2 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.1413, allocations: 27.91 kB / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.1415, allocations: 35.84 kB / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1415, allocations: 0 / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.1417, allocations: 23.92 kB / 492.2 MB, free: 7.301 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/0.1418, allocations: 19.92 kB / 492.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.1418, allocations: 33.64 kB / 492.3 MB, free: 7.242 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1421, allocations: 72.17 kB / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1421, allocations: 0 / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1421, allocations: 0 / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.351e-06/0.1421, allocations: 0 / 492.4 MB, free: 7.172 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.0007893/0.1429, allocations: 399 kB / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.143, allocations: 8.031 kB / 492.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.257e-05/0.1431, allocations: 30.56 kB / 492.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.1431, allocations: 11.86 kB / 492.8 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.1435, allocations: 194.9 kB / 493 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1435, allocations: 11.88 kB / 493 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.1436, allocations: 4 kB / 493 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.1439, allocations: 61.66 kB / 493.1 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.1439, allocations: 0 / 493.1 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.144, allocations: 4 kB / 493.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.144, allocations: 0 / 493.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003596/0.1444, allocations: 43.97 kB / 493.1 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.145, allocations: 300.7 kB / 493.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1452, allocations: 46.56 kB / 493.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1452, allocations: 0 / 493.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1452, allocations: 34.56 kB / 493.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1453, allocations: 4 kB / 493.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.00126/0.1465, allocations: 241.2 kB / 493.7 MB, free: 5.629 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.1466, allocations: 55.41 kB / 493.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.1469, allocations: 186.1 kB / 494 MB, free: 5.371 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1469, allocations: 25.7 kB / 494 MB, free: 5.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.147, allocations: 166.5 kB / 494.1 MB, free: 5.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.1471, allocations: 27.72 kB / 494.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.1471, allocations: 4 kB / 494.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1473, allocations: 314.8 kB / 494.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.1475, allocations: 35.98 kB / 494.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.1478, allocations: 43.97 kB / 494.6 MB, free: 4.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.1481, allocations: 43.91 kB / 494.6 MB, free: 4.707 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1481, allocations: 3.938 kB / 494.6 MB, free: 4.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007049/0.1488, allocations: 121.6 kB / 494.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.1489, allocations: 6.656 kB / 494.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1489, allocations: 0 / 494.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.1489, allocations: 3.953 kB / 494.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.1492, allocations: 28.27 kB / 494.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1493, allocations: 0 / 494.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.1495, allocations: 15.98 kB / 494.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.1495, allocations: 4 kB / 494.8 MB, free: 4.523 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 (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.0001933/0.1497, allocations: 125.8 kB / 494.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.1498, allocations: 15.75 kB / 494.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008715/0.1507, allocations: 150.6 kB / 495.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.1507, allocations: 7.953 kB / 495.1 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1507, allocations: 7.938 kB / 495.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1507, allocations: 0 / 495.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.152, allocations: 402.5 kB / 495.5 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.152, allocations: 0 / 495.5 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.1522, allocations: 27.98 kB / 495.5 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.1523, allocations: 3.953 kB / 495.5 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.1523, allocations: 7.984 kB / 495.5 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.1523, allocations: 4 kB / 495.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1523, allocations: 0 / 495.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000765/0.1531, allocations: 223.4 kB / 495.7 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.271e-05/0.1532, allocations: 89.02 kB / 495.8 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.1533, allocations: 15.88 kB / 495.8 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.1536, allocations: 8 kB / 495.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.1537, allocations: 7.984 kB / 495.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.1537, allocations: 4 kB / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002382/0.154, allocations: 139.2 kB / 496 MB, free: 3.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.154, allocations: 0 / 496 MB, free: 3.199 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003547/0.1543, allocations: 20 kB / 496 MB, free: 3.18 MB / 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 (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.002801/0.1571, allocations: 1.055 MB / 497.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007444/0.158, allocations: 95.88 kB / 497.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.158, allocations: 0 / 497.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003274/0.1583, allocations: 47.97 kB / 497.2 MB, free: 2.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.1588, allocations: 23.88 kB / 497.2 MB, free: 1.988 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.1615, allocations: 0.7532 MB / 498 MB, free: 1.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.162, allocations: 0.7082 MB / 498.7 MB, free: 456 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.1622, allocations: 31.42 kB / 498.7 MB, free: 424 kB / 330.7 MB Notification: Performance of SimCode: time 1.443e-06/0.1622, allocations: 0 / 498.7 MB, free: 424 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.785/2.948, allocations: 2.158 MB / 0.4892 GB, free: 14.26 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test27.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27_res.mat does not exist to compare? outputFormat=mat