Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9",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.002314/0.002313, allocations: 189 kB / 16.4 MB, free: 5.621 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.352/2.352, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001253/0.001253, allocations: 94.88 kB / 270.9 MB, free: 13.29 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.3007/0.3007, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004779, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1258, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002504/0.1284, allocations: 1.271 MB / 491.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.1293, allocations: 279.9 kB / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.1294, allocations: 0 / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007888/0.1302, allocations: 435.2 kB / 492.3 MB, free: 7.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.1307, allocations: 243.5 kB / 492.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.1314, allocations: 136.3 kB / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.1317, allocations: 115.8 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1318, allocations: 12.17 kB / 492.8 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1319, allocations: 103.7 kB / 492.9 MB, free: 6.652 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.1323, allocations: 143.7 kB / 493 MB, free: 6.512 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.1323, allocations: 4 kB / 493 MB, free: 6.508 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-05/0.1324, allocations: 19.92 kB / 493 MB, free: 6.488 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.1325, allocations: 79.75 kB / 493.1 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.1326, allocations: 69.45 kB / 493.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.133, allocations: 176 kB / 493.4 MB, free: 6.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.133, allocations: 0 / 493.4 MB, free: 6.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.133, allocations: 3.938 kB / 493.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.133, allocations: 0 / 493.4 MB, free: 6.16 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.0009552/0.134, allocations: 0.5988 MB / 494 MB, free: 5.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.134, allocations: 8.031 kB / 494 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.1341, allocations: 38.56 kB / 494 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.1342, allocations: 43.39 kB / 494.1 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.1345, allocations: 275.4 kB / 494.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1346, allocations: 0 / 494.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1346, allocations: 4 kB / 494.3 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.1348, allocations: 61.61 kB / 494.4 MB, free: 5.035 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1349, allocations: 4 kB / 494.4 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1349, allocations: 0 / 494.4 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1349, allocations: 0 / 494.4 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.1351, allocations: 39.97 kB / 494.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.1359, allocations: 404.7 kB / 494.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1361, allocations: 54.42 kB / 494.9 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.1361, allocations: 4 kB / 494.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.1362, allocations: 30.56 kB / 494.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.1362, allocations: 4 kB / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005397/0.1368, allocations: 137.3 kB / 495.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.1368, allocations: 55.36 kB / 495.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.1382, allocations: 0.8613 MB / 496 MB, free: 3.359 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1382, allocations: 25.7 kB / 496 MB, free: 3.328 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.1385, allocations: 238.5 kB / 496.2 MB, free: 3.094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.1385, allocations: 7.844 kB / 496.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.1385, allocations: 0 / 496.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1387, allocations: 318.8 kB / 496.5 MB, free: 2.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1388, allocations: 23.91 kB / 496.6 MB, free: 2.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.139, allocations: 28 kB / 496.6 MB, free: 2.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1391, allocations: 20.27 kB / 496.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1391, allocations: 0 / 496.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003218/0.1395, allocations: 85.66 kB / 496.7 MB, free: 2.605 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1395, allocations: 6.656 kB / 496.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.1395, allocations: 3.984 kB / 496.7 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1395, allocations: 0 / 496.7 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1397, allocations: 8 kB / 496.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.1397, allocations: 3.953 kB / 496.7 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.1398, allocations: 11.98 kB / 496.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1399, allocations: 0 / 496.7 MB, free: 2.574 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 (3): * Single equations (assignments): 3 * 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.0003021/0.1402, allocations: 221.7 kB / 497 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.1403, allocations: 43.44 kB / 497 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004272/0.1407, allocations: 129 kB / 497.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1407, allocations: 3.938 kB / 497.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1407, allocations: 4 kB / 497.1 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1407, allocations: 7.953 kB / 497.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.1412, allocations: 293.5 kB / 497.4 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1412, allocations: 0 / 497.4 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.1413, allocations: 8 kB / 497.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.1413, allocations: 4 kB / 497.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1413, allocations: 0 / 497.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.1414, allocations: 0 / 497.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1414, allocations: 3.938 kB / 497.4 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.1418, allocations: 230.9 kB / 497.7 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.1419, allocations: 108.6 kB / 497.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.1419, allocations: 0 / 497.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.1421, allocations: 8 kB / 497.8 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.1422, allocations: 7.984 kB / 497.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.1422, allocations: 0 / 497.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009998/0.1432, allocations: 0.655 MB / 498.4 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1432, allocations: 0 / 498.4 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003468/0.1436, allocations: 16 kB / 498.5 MB, free: 0.75 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 (3): * Single equations (assignments): 3 * 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.001709/0.1453, allocations: 1.005 MB / 499.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.1456, allocations: 47.97 kB / 499.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1456, allocations: 0 / 499.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.1458, allocations: 23.98 kB / 499.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1462, allocations: 25.89 kB / 499.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/0.1508, allocations: 2.243 MB / 0.49 GB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.1515, allocations: 0.8298 MB / 0.4908 GB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.1517, allocations: 107.4 kB / 0.4909 GB, free: 12.4 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1517, allocations: 4 kB / 0.491 GB, free: 12.4 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.877/3.029, allocations: 6.499 MB / 0.4973 GB, free: 5.891 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat does not exist to compare? outputFormat=mat