Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test8",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.001639/0.001644, allocations: 186.7 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.332/2.332, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001666/0.001666, allocations: 94.86 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.3028/0.3028, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.00049, allocations: 16 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.126, allocations: 58.86 MB / 490.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.002551/0.1286, allocations: 1.267 MB / 491.6 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000799/0.1295, allocations: 255.9 kB / 491.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.1295, allocations: 0 / 491.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.1303, allocations: 439.2 kB / 492.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.1308, allocations: 231.6 kB / 492.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.1313, allocations: 95.81 kB / 492.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.1315, allocations: 111.8 kB / 492.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.1316, allocations: 7.984 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1318, allocations: 99.78 kB / 492.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.1321, allocations: 147.7 kB / 492.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.1321, allocations: 0 / 492.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.1322, allocations: 12 kB / 493 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.1324, allocations: 79.69 kB / 493 MB, free: 6.488 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.1325, allocations: 65.52 kB / 493.1 MB, free: 6.418 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.1328, allocations: 183.6 kB / 493.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1328, allocations: 0 / 493.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1328, allocations: 0 / 493.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1328, allocations: 4 kB / 493.3 MB, free: 6.234 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009629/0.1338, allocations: 0.5796 MB / 493.9 MB, free: 5.605 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.1339, allocations: 12.03 kB / 493.9 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.1339, allocations: 34.55 kB / 493.9 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.134, allocations: 47.39 kB / 494 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.1344, allocations: 271.4 kB / 494.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1344, allocations: 4 kB / 494.2 MB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1345, allocations: 4 kB / 494.2 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1347, allocations: 49.62 kB / 494.3 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1347, allocations: 0 / 494.3 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1347, allocations: 7.984 kB / 494.3 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1347, allocations: 0 / 494.3 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.1349, allocations: 23.98 kB / 494.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.1355, allocations: 376.7 kB / 494.7 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1357, allocations: 38.52 kB / 494.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1357, allocations: 0 / 494.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1357, allocations: 30.56 kB / 494.7 MB, free: 4.602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.784e-06/0.1358, allocations: 0 / 494.7 MB, free: 4.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003822/0.1361, allocations: 109.2 kB / 494.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1362, allocations: 51.41 kB / 494.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.1376, allocations: 0.8613 MB / 495.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.1376, allocations: 25.7 kB / 495.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.1379, allocations: 246.5 kB / 496 MB, free: 3.281 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.1379, allocations: 7.906 kB / 496 MB, free: 3.273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.1379, allocations: 0 / 496 MB, free: 3.273 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1381, allocations: 318.9 kB / 496.3 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.406e-05/0.1382, allocations: 15.94 kB / 496.4 MB, free: 2.938 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.307e-05/0.1383, allocations: 11.98 kB / 496.4 MB, free: 2.926 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.1384, allocations: 8 kB / 496.4 MB, free: 2.918 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1384, allocations: 4 kB / 496.4 MB, free: 2.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002059/0.1386, allocations: 49.75 kB / 496.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1386, allocations: 7.984 kB / 496.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1386, allocations: 0 / 496.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1387, allocations: 4 kB / 496.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.579e-05/0.1388, allocations: 7.953 kB / 496.5 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1388, allocations: 0 / 496.5 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.682e-05/0.1389, allocations: 11.94 kB / 496.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1389, allocations: 3.938 kB / 496.5 MB, free: 2.824 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 (2): * Single equations (assignments): 2 * 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.0002905/0.1392, allocations: 217.8 kB / 496.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/0.1393, allocations: 39.44 kB / 496.7 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.1396, allocations: 112.6 kB / 496.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1397, allocations: 0 / 496.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.1397, allocations: 7.953 kB / 496.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1397, allocations: 0 / 496.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.1401, allocations: 277.6 kB / 497.1 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1401, allocations: 8.031 kB / 497.1 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.1402, allocations: 7.984 kB / 497.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1402, allocations: 0 / 497.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1402, allocations: 0 / 497.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.1402, allocations: 0 / 497.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1402, allocations: 0 / 497.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.1405, allocations: 198.9 kB / 497.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.1407, allocations: 112.6 kB / 497.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1407, allocations: 0 / 497.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1409, allocations: 4 kB / 497.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.1409, allocations: 0 / 497.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1409, allocations: 0 / 497.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.1419, allocations: 0.655 MB / 498.1 MB, free: 1.105 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.142, allocations: 0 / 498.1 MB, free: 1.105 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003475/0.1423, allocations: 27.94 kB / 498.1 MB, free: 1.078 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 (2): * Single equations (assignments): 2 * 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.001624/0.144, allocations: 0.9797 MB / 499.1 MB, free: 124 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1442, allocations: 23.92 kB / 499.1 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1442, allocations: 0 / 499.1 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.1443, allocations: 16.06 kB / 499.1 MB, free: 84 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.1447, allocations: 21.95 kB / 499.2 MB, free: 60 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/0.1494, allocations: 2.19 MB / 0.4896 GB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.15, allocations: 0.8262 MB / 0.4904 GB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.1503, allocations: 107.4 kB / 0.4905 GB, free: 12.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1503, allocations: 3.938 kB / 0.4905 GB, free: 12.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.77/2.92, allocations: 6.337 MB / 0.4967 GB, free: 6.496 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat does not exist to compare? outputFormat=mat