Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6",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.001558/0.001563, allocations: 184.1 kB / 16.4 MB, free: 5.754 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.088/2.088, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001184/0.001184, allocations: 91.56 kB / 270.9 MB, free: 8.379 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.5268/0.5268, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007154/0.0007157, allocations: 15.98 kB / 431.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.132, allocations: 58.84 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002589/0.1347, allocations: 1.305 MB / 491.6 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008521/0.1356, allocations: 295.8 kB / 491.9 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.1357, allocations: 0 / 491.9 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007711/0.1364, allocations: 427.3 kB / 492.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005207/0.137, allocations: 247.5 kB / 492.6 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.1375, allocations: 95.81 kB / 492.7 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.1378, allocations: 115.8 kB / 492.8 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1379, allocations: 16.17 kB / 492.8 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1381, allocations: 99.78 kB / 492.9 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.1384, allocations: 151.7 kB / 493 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.1384, allocations: 4 kB / 493 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1386, allocations: 19.94 kB / 493.1 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.1387, allocations: 79.75 kB / 493.1 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.17e-05/0.1388, allocations: 69.45 kB / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.1391, allocations: 184 kB / 493.4 MB, free: 7.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1392, allocations: 0 / 493.4 MB, free: 7.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1392, allocations: 0 / 493.4 MB, free: 7.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1392, allocations: 4 kB / 493.4 MB, free: 7.82 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.0009875/0.1402, allocations: 0.6026 MB / 494 MB, free: 7.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.1403, allocations: 12.03 kB / 494 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.873e-05/0.1403, allocations: 30.56 kB / 494 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/0.1404, allocations: 43.39 kB / 494.1 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.1408, allocations: 275.3 kB / 494.3 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1408, allocations: 4 kB / 494.3 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1409, allocations: 8 kB / 494.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1411, allocations: 61.61 kB / 494.4 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1412, allocations: 7.938 kB / 494.4 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1412, allocations: 0 / 494.4 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.1412, allocations: 0 / 494.4 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.1414, allocations: 51.91 kB / 494.5 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.1421, allocations: 388.6 kB / 494.9 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1423, allocations: 46.56 kB / 494.9 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.1424, allocations: 4 kB / 494.9 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.1424, allocations: 30.56 kB / 494.9 MB, free: 6.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/0.1424, allocations: 0 / 494.9 MB, free: 6.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001349/0.1438, allocations: 327.9 kB / 495.2 MB, free: 5.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.1438, allocations: 51.41 kB / 495.3 MB, free: 5.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.1452, allocations: 0.8574 MB / 496.2 MB, free: 4.844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1453, allocations: 29.7 kB / 496.2 MB, free: 4.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.1455, allocations: 230.6 kB / 496.4 MB, free: 4.582 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.1456, allocations: 35.61 kB / 496.4 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-06/0.1456, allocations: 0 / 496.4 MB, free: 4.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1458, allocations: 310.8 kB / 496.7 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.146, allocations: 47.91 kB / 496.8 MB, free: 4.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.1462, allocations: 39.97 kB / 496.8 MB, free: 4.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.1465, allocations: 43.98 kB / 496.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1465, allocations: 0 / 496.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005171/0.147, allocations: 117.6 kB / 497 MB, free: 3.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.1471, allocations: 7.953 kB / 497 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1471, allocations: 0 / 497 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1471, allocations: 0 / 497 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.1473, allocations: 27.97 kB / 497 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1473, allocations: 0 / 497 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.1475, allocations: 20 kB / 497 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.1475, allocations: 3.984 kB / 497.1 MB, free: 3.926 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 (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.00032/0.1479, allocations: 217.7 kB / 497.3 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.148, allocations: 43.44 kB / 497.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006928/0.1487, allocations: 190 kB / 497.5 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1487, allocations: 0 / 497.5 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.1487, allocations: 7.984 kB / 497.5 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.1487, allocations: 0 / 497.5 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.1498, allocations: 0.5023 MB / 498 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.1499, allocations: 3.953 kB / 498 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.15, allocations: 31.98 kB / 498 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/0.1501, allocations: 3.984 kB / 498 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1501, allocations: 0 / 498 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1501, allocations: 0 / 498 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.1501, allocations: 4 kB / 498 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.1507, allocations: 262.8 kB / 498.3 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.1508, allocations: 112.6 kB / 498.4 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.1509, allocations: 7.984 kB / 498.4 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.1511, allocations: 16 kB / 498.4 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.1512, allocations: 3.984 kB / 498.4 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1512, allocations: 4 kB / 498.4 MB, free: 2.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.1522, allocations: 0.6511 MB / 499.1 MB, free: 1.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1522, allocations: 0 / 499.1 MB, free: 1.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004134/0.1527, allocations: 28 kB / 499.1 MB, free: 1.75 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 (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.002053/0.1547, allocations: 1.092 MB / 0.4885 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005559/0.1553, allocations: 103.8 kB / 0.4886 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1554, allocations: 4 kB / 0.4886 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.1556, allocations: 47.91 kB / 0.4886 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.156, allocations: 29.89 kB / 0.4887 GB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.314/0.47, allocations: 2.31 MB / 0.4909 GB, free: 42.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.4705, allocations: 0.8336 MB / 0.4917 GB, free: 41.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.4708, allocations: 100.2 kB / 0.4918 GB, free: 41.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.332e-06/0.4708, allocations: 0 / 0.4918 GB, free: 41.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.647/3.118, allocations: 6.747 MB / 0.4984 GB, free: 40.57 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat does not exist to compare? outputFormat=mat