Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28",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.0008019/0.0008021, allocations: 93.28 kB / 17 MB, free: 6.07 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.0008076/0.0008076, allocations: 178.8 kB / 17.88 MB, free: 5.672 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.378/1.378, allocations: 223.2 MB / 241.9 MB, free: 312 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.2123/0.2123, allocations: 44.23 MB / 337.2 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003293/0.1368, allocations: 1.337 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000902/0.1377, allocations: 387.6 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.1378, allocations: 0 / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.1382, allocations: 51.88 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.1384, allocations: 47.88 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1387, allocations: 118.7 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1389, allocations: 63.83 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.758e-05/0.139, allocations: 12 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.139, allocations: 31.83 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.918e-05/0.1391, allocations: 35.84 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1391, allocations: 0 / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.1392, allocations: 39.97 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.1393, allocations: 19.92 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.1393, allocations: 41.64 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.1395, allocations: 84.09 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1395, allocations: 0 / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1395, allocations: 3.938 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1395, allocations: 0 / 473.9 MB, free: 11.36 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005483/0.1401, allocations: 399 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1401, allocations: 8.031 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.1402, allocations: 38.5 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.1402, allocations: 11.91 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1405, allocations: 194.8 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1405, allocations: 8 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.1406, allocations: 7.859 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.1408, allocations: 69.66 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1408, allocations: 4 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.1408, allocations: 4 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.1409, allocations: 4 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.141, allocations: 47.91 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.1416, allocations: 296.8 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.1419, allocations: 62.55 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.682e-05/0.142, allocations: 33 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.1421, allocations: 4 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.1421, allocations: 34.56 kB / 475.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.913e-06/0.1421, allocations: 0 / 475.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00152/0.1437, allocations: 468.8 kB / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.1437, allocations: 55.41 kB / 475.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1439, allocations: 190.2 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1439, allocations: 29.7 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.144, allocations: 104.1 kB / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.144, allocations: 35.45 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.1441, allocations: 4 kB / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1442, allocations: 326.8 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1443, allocations: 47.97 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.1444, allocations: 55.91 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1445, allocations: 55.97 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1446, allocations: 0 / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002927/0.1448, allocations: 157.5 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.1449, allocations: 4 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1449, allocations: 3.938 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1449, allocations: 0 / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.145, allocations: 31.92 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.145, allocations: 3.984 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.1451, allocations: 27.94 kB / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1451, allocations: 4 kB / 476.7 MB, free: 8.359 MB / 350.1 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 (11): * Single equations (assignments): 11 * 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.0001129/0.1453, allocations: 130.3 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.1453, allocations: 7.906 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.1457, allocations: 179.2 kB / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1457, allocations: 0 / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1457, allocations: 0 / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.1457, allocations: 4 kB / 477 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006263/0.1463, allocations: 496 kB / 477.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1464, allocations: 0 / 477.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1465, allocations: 35.91 kB / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1465, allocations: 7.922 kB / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1465, allocations: 8 kB / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1465, allocations: 3.953 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1465, allocations: 0 / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.1469, allocations: 269.1 kB / 477.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.1469, allocations: 89.02 kB / 477.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1469, allocations: 4 kB / 477.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.147, allocations: 11.98 kB / 477.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.1471, allocations: 23.88 kB / 477.9 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1471, allocations: 0 / 477.9 MB, free: 7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1472, allocations: 156 kB / 478.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1472, allocations: 0 / 478.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1475, allocations: 20 kB / 478.1 MB, free: 6.828 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001522/0.149, allocations: 1.157 MB / 479.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.1494, allocations: 123.9 kB / 479.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1494, allocations: 0 / 479.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.1495, allocations: 71.89 kB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1499, allocations: 27.19 kB / 479.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.1513, allocations: 0.8486 MB / 480.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1516, allocations: 0.7043 MB / 481 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.729e-05/0.1516, allocations: 20.53 kB / 481 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.1517, allocations: 35.42 kB / 481.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1517, allocations: 3.938 kB / 481.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.165, allocations: 2.829 MB / 483.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.1653, allocations: 216.7 kB / 484.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.037, allocations: 0 / 484.1 MB, free: 0.9688 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat does not exist to compare? outputFormat=mat