Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",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.0008907/0.0008907, allocations: 96.55 kB / 16.98 MB, free: 5.938 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.0009223/0.0009224, allocations: 188.4 kB / 17.88 MB, free: 5.594 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.373/1.373, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2243/0.2243, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.000333, allocations: 11.98 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1291, allocations: 61.91 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001663/0.1308, allocations: 1.311 MB / 472.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005934/0.1314, allocations: 375.6 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.1315, allocations: 0 / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.132, allocations: 435.2 kB / 473.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.1323, allocations: 247.5 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.1325, allocations: 102.8 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.1327, allocations: 115.8 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/0.1328, allocations: 12.12 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.635e-05/0.1329, allocations: 107.8 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1331, allocations: 143.7 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1331, allocations: 3.938 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.085e-05/0.1332, allocations: 20 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-05/0.1333, allocations: 75.75 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.1333, allocations: 69.45 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1335, allocations: 191.9 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1335, allocations: 0 / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1335, allocations: 4 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1335, allocations: 0 / 474.7 MB, free: 10.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005979/0.1341, allocations: 0.5871 MB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1342, allocations: 12.03 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.1342, allocations: 34.56 kB / 475.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.1343, allocations: 39.44 kB / 475.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1346, allocations: 275.4 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1346, allocations: 0 / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1346, allocations: 15.94 kB / 475.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1347, allocations: 53.62 kB / 475.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.1347, allocations: 0 / 475.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.1348, allocations: 0 / 475.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1348, allocations: 4 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.1349, allocations: 27.98 kB / 475.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.1353, allocations: 396.7 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.1355, allocations: 42.5 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1355, allocations: 4 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.1356, allocations: 30.56 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1356, allocations: 0 / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005708/0.1361, allocations: 244 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1362, allocations: 55.41 kB / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000741/0.1369, allocations: 0.8613 MB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1369, allocations: 29.7 kB / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.1371, allocations: 224 kB / 477.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.1371, allocations: 15.75 kB / 477.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.1371, allocations: 4 kB / 477.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1373, allocations: 362.7 kB / 478 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.1373, allocations: 27.98 kB / 478 MB, free: 6.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.1374, allocations: 19.98 kB / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.751e-05/0.1375, allocations: 20 kB / 478 MB, free: 6.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1375, allocations: 3.938 kB / 478.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001972/0.1377, allocations: 129.2 kB / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1377, allocations: 4 kB / 478.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1377, allocations: 0 / 478.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1377, allocations: 0 / 478.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.1378, allocations: 12 kB / 478.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1378, allocations: 11.86 kB / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.1379, allocations: 4 kB / 478.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.1379, allocations: 8 kB / 478.2 MB, free: 6.688 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 (5): * Single equations (assignments): 5 * 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.0001769/0.1381, allocations: 218.2 kB / 478.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.1381, allocations: 39.44 kB / 478.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.1384, allocations: 141 kB / 478.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1384, allocations: 4 kB / 478.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1385, allocations: 0 / 478.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1385, allocations: 0 / 478.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/0.139, allocations: 474.4 kB / 479.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.139, allocations: 0.6562 kB / 479.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.139, allocations: 20 kB / 479.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1391, allocations: 0 / 479.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1391, allocations: 4 kB / 479.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1391, allocations: 0 / 479.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1391, allocations: 3.984 kB / 479.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.1393, allocations: 226.9 kB / 479.3 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.1394, allocations: 116.5 kB / 479.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1395, allocations: 0 / 479.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.1396, allocations: 8 kB / 479.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1396, allocations: 7.984 kB / 479.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1396, allocations: 0 / 479.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005934/0.1402, allocations: 0.6511 MB / 480.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1402, allocations: 7.938 kB / 480.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1405, allocations: 24 kB / 480.1 MB, free: 4.66 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 (5): * Single equations (assignments): 5 * 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.001285/0.1418, allocations: 1.05 MB / 481.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.142, allocations: 55.91 kB / 481.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.142, allocations: 0 / 481.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.495e-05/0.1421, allocations: 31.98 kB / 481.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1423, allocations: 28.91 kB / 481.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.1449, allocations: 2.223 MB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.1453, allocations: 0.8223 MB / 484.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.362e-05/0.1454, allocations: 11.98 kB / 484.4 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.1455, allocations: 103.4 kB / 484.5 MB, free: 388 kB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1455, allocations: 7.938 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.1619, allocations: 5.36 MB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.1621, allocations: 220.1 kB / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/1.938, allocations: 0 / 490 MB, free: 10.89 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat does not exist to compare? outputFormat=mat