Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.000812/0.0008117, allocations: 97.48 kB / 17 MB, free: 6.418 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.0008469/0.0008471, allocations: 189.4 kB / 17.89 MB, free: 5.945 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.415/1.415, allocations: 223.2 MB / 241.9 MB, free: 232 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.2191/0.2191, allocations: 44.22 MB / 337.2 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 12.75 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002654/0.1291, allocations: 1.278 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008405/0.13, allocations: 399.6 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.1301, allocations: 4 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006603/0.1307, allocations: 439.2 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.1311, allocations: 239.6 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.1315, allocations: 155.2 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.1318, allocations: 127.7 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1319, allocations: 12.17 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.1321, allocations: 103.7 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.1323, allocations: 171.7 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1323, allocations: 0 / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.517e-05/0.1324, allocations: 12 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.433e-05/0.1325, allocations: 83.75 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.1325, allocations: 65.45 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.1328, allocations: 184 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.1328, allocations: 0 / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1328, allocations: 3.938 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.1328, allocations: 4 kB / 474.9 MB, free: 10.37 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006543/0.1334, allocations: 0.5949 MB / 475.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1335, allocations: 11.97 kB / 475.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.1335, allocations: 30.56 kB / 475.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.1336, allocations: 43.44 kB / 475.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.1339, allocations: 275.4 kB / 475.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1339, allocations: 4 kB / 475.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1339, allocations: 7.891 kB / 475.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1341, allocations: 61.67 kB / 475.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1341, allocations: 0 / 475.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1341, allocations: 4 kB / 475.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1341, allocations: 0 / 475.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1342, allocations: 43.97 kB / 476 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.1348, allocations: 396.7 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.135, allocations: 54.5 kB / 476.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.1351, allocations: 28.94 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.1351, allocations: 0 / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1351, allocations: 34.55 kB / 476.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1351, allocations: 4 kB / 476.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003887/0.1355, allocations: 133.2 kB / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.1356, allocations: 59.34 kB / 476.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009531/0.1365, allocations: 0.869 MB / 477.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1366, allocations: 25.7 kB / 477.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.1368, allocations: 212.1 kB / 477.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.1368, allocations: 15.83 kB / 477.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.1368, allocations: 0 / 477.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.137, allocations: 370.7 kB / 478.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.1371, allocations: 19.98 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.1371, allocations: 19.98 kB / 478.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.625e-05/0.1372, allocations: 27.98 kB / 478.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1372, allocations: 0 / 478.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001946/0.1374, allocations: 121.1 kB / 478.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1374, allocations: 4 kB / 478.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1374, allocations: 0 / 478.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1374, allocations: 4 kB / 478.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.1375, allocations: 11.94 kB / 478.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.1375, allocations: 4 kB / 478.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.1376, allocations: 11.98 kB / 478.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.1376, allocations: 0 / 478.3 MB, free: 6.68 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 (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.0001906/0.1378, allocations: 214.3 kB / 478.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.1379, allocations: 43.52 kB / 478.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.1381, allocations: 132.9 kB / 478.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1382, allocations: 0 / 478.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1382, allocations: 0 / 478.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1382, allocations: 3.938 kB / 478.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.1385, allocations: 293.5 kB / 479 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1385, allocations: 0 / 479 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.1385, allocations: 12 kB / 479 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1385, allocations: 7.938 kB / 479 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1386, allocations: 0 / 479 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1386, allocations: 3.984 kB / 479 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1386, allocations: 0 / 479 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1388, allocations: 211.1 kB / 479.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.062e-05/0.1389, allocations: 116.5 kB / 479.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.139, allocations: 0 / 479.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.139, allocations: 11.98 kB / 479.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.1391, allocations: 4 kB / 479.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1391, allocations: 0 / 479.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006426/0.1398, allocations: 0.6511 MB / 480 MB, free: 4.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1398, allocations: 4 kB / 480 MB, free: 4.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.14, allocations: 16 kB / 480.1 MB, free: 4.871 MB / 350.1 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.001283/0.1413, allocations: 1.019 MB / 481.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1415, allocations: 47.97 kB / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1415, allocations: 0 / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.076e-05/0.1416, allocations: 27.92 kB / 481.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.1419, allocations: 25.95 kB / 481.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.1449, allocations: 2.292 MB / 483.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.1453, allocations: 0.8224 MB / 484.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.966e-05/0.1454, allocations: 16.17 kB / 484.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.1455, allocations: 103.4 kB / 484.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1456, allocations: 0 / 484.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.1609, allocations: 5.227 MB / 489.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.1611, allocations: 227.4 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/1.995, allocations: 0 / 489.8 MB, free: 11.18 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat does not exist to compare? outputFormat=mat