Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009456/0.0009458, allocations: 97.05 kB / 17 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 185.6 kB / 17.89 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1988/0.1988, allocations: 44.23 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003325, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002482/0.1369, allocations: 1.606 MB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1385, allocations: 1.069 MB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.1386, allocations: 0 / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.1389, allocations: 43.72 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.1392, allocations: 135.6 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.1404, allocations: 0.5419 MB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.1408, allocations: 247.1 kB / 475.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.141, allocations: 56.83 kB / 475.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1412, allocations: 99.55 kB / 475.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.1414, allocations: 159.3 kB / 475.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.1414, allocations: 8 kB / 475.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1415, allocations: 47.98 kB / 475.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.1417, allocations: 127.6 kB / 475.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.1418, allocations: 77.39 kB / 475.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.1421, allocations: 287.5 kB / 476.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1421, allocations: 0 / 476.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1421, allocations: 4 kB / 476.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1421, allocations: 0 / 476.1 MB, free: 9.141 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009165/0.143, allocations: 0.7076 MB / 476.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1431, allocations: 8.031 kB / 476.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.727e-05/0.1432, allocations: 42.56 kB / 476.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.686e-05/0.1432, allocations: 55.33 kB / 476.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.1438, allocations: 439 kB / 477.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1439, allocations: 12 kB / 477.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.1439, allocations: 15.95 kB / 477.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.1442, allocations: 139.3 kB / 477.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1442, allocations: 0 / 477.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1442, allocations: 4 kB / 477.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1442, allocations: 4 kB / 477.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.1445, allocations: 111.9 kB / 477.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009121/0.1454, allocations: 0.6957 MB / 478.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.1456, allocations: 117.2 kB / 478.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1457, allocations: 53.81 kB / 478.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.1458, allocations: 8 kB / 478.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.654e-05/0.1458, allocations: 30.56 kB / 478.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1458, allocations: 0 / 478.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001427/0.1473, allocations: 0.5799 MB / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.1473, allocations: 77.11 kB / 479.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.1484, allocations: 0.878 MB / 480.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1484, allocations: 33.7 kB / 480.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.1486, allocations: 256.2 kB / 480.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.1486, allocations: 55.19 kB / 480.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.1487, allocations: 8 kB / 480.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1488, allocations: 370.8 kB / 480.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.149, allocations: 71.89 kB / 480.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.1492, allocations: 93.66 kB / 481 MB, free: 4.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.1494, allocations: 76.11 kB / 481 MB, free: 3.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1494, allocations: 4 kB / 481 MB, free: 3.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004709/0.1498, allocations: 260.8 kB / 481.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1499, allocations: 18.22 kB / 481.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1499, allocations: 0 / 481.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1499, allocations: 4 kB / 481.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.1501, allocations: 40.72 kB / 481.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1501, allocations: 4 kB / 481.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.1503, allocations: 19.98 kB / 481.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.1503, allocations: 4 kB / 481.4 MB, free: 3.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002038/0.1505, allocations: 218.2 kB / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/0.1506, allocations: 55.3 kB / 481.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006783/0.1513, allocations: 318.2 kB / 482 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1513, allocations: 0 / 482 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1513, allocations: 4 kB / 482 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1513, allocations: 0 / 482 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.1525, allocations: 0.8138 MB / 482.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1525, allocations: 3.938 kB / 482.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.1527, allocations: 47.97 kB / 482.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1527, allocations: 4 kB / 482.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1527, allocations: 3.984 kB / 482.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1527, allocations: 3.938 kB / 482.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1527, allocations: 4 kB / 482.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.1532, allocations: 432.6 kB / 483.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.1534, allocations: 152.4 kB / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.1534, allocations: 3.984 kB / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.1536, allocations: 20 kB / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.1537, allocations: 15.97 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1537, allocations: 4 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006658/0.1544, allocations: 0.6432 MB / 484.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1544, allocations: 0 / 484.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.1548, allocations: 52 kB / 484.2 MB, free: 0.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001712/0.1565, allocations: 1.269 MB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.157, allocations: 175.8 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.157, allocations: 4 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.1572, allocations: 91.83 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.1579, allocations: 66.95 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.1627, allocations: 3.236 MB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/0.1636, allocations: 0.8656 MB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.1638, allocations: 99.19 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.1641, allocations: 163.4 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1641, allocations: 0 / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.1885, allocations: 8.799 MB / 498.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.1888, allocations: 227.4 kB / 499.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.174, allocations: 0 / 499.1 MB, free: 1.934 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat does not exist to compare? outputFormat=mat