Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",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.0009713/0.0009715, allocations: 95.91 kB / 17 MB, free: 6.398 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.0009845/0.0009846, allocations: 177.7 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.433/1.433, allocations: 223.3 MB / 241.9 MB, free: 348 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.2089/0.2089, allocations: 44.23 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 8.219 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.001993/0.121, allocations: 1.267 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006108/0.1216, allocations: 375.6 kB / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.1216, allocations: 0 / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.1221, allocations: 439.2 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.1224, allocations: 243.5 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.1228, allocations: 107.4 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1229, allocations: 123.7 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.123, allocations: 11.97 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1231, allocations: 103.8 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.1234, allocations: 159.7 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1234, allocations: 0 / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.333e-05/0.1234, allocations: 27.92 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.1236, allocations: 83.69 kB / 474.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.1236, allocations: 65.52 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.1238, allocations: 171.8 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1238, allocations: 4 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1238, allocations: 0 / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1238, allocations: 0 / 474.8 MB, free: 10.48 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.000646/0.1245, allocations: 0.5835 MB / 475.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1245, allocations: 8.031 kB / 475.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.1246, allocations: 34.56 kB / 475.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.1246, allocations: 47.38 kB / 475.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.1249, allocations: 275.3 kB / 475.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1249, allocations: 0 / 475.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.125, allocations: 11.95 kB / 475.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1251, allocations: 49.67 kB / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1251, allocations: 0 / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.1251, allocations: 0 / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1251, allocations: 0 / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.85e-05/0.1252, allocations: 23.98 kB / 475.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.1256, allocations: 380.7 kB / 476.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.976e-05/0.1257, allocations: 34.56 kB / 476.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.1258, allocations: 16.91 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1258, allocations: 0 / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1258, allocations: 38.56 kB / 476.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1258, allocations: 0 / 476.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002483/0.1261, allocations: 101.2 kB / 476.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.1261, allocations: 55.34 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007589/0.1269, allocations: 0.8613 MB / 477.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1269, allocations: 33.7 kB / 477.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.1271, allocations: 220.2 kB / 477.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.1271, allocations: 7.844 kB / 477.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.1271, allocations: 0 / 477.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1273, allocations: 366.7 kB / 477.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.556e-05/0.1273, allocations: 8 kB / 477.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.178e-05/0.1274, allocations: 11.98 kB / 477.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.1274, allocations: 16.06 kB / 477.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1274, allocations: 0 / 477.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001349/0.1275, allocations: 97.06 kB / 478 MB, free: 7.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1276, allocations: 4 kB / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1276, allocations: 0 / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1276, allocations: 0 / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.1277, allocations: 11.98 kB / 478 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1277, allocations: 4.031 kB / 478.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.1277, allocations: 0 / 478.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1277, allocations: 4 kB / 478.1 MB, free: 6.984 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 (2): * Single equations (assignments): 2 * 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.0001672/0.1279, allocations: 210.2 kB / 478.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.128, allocations: 43.44 kB / 478.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.1282, allocations: 112.5 kB / 478.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1282, allocations: 8.031 kB / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1282, allocations: 0 / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1282, allocations: 0 / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.1285, allocations: 281.5 kB / 478.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1285, allocations: 3.938 kB / 478.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.1285, allocations: 8 kB / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1285, allocations: 0 / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1285, allocations: 0 / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1285, allocations: 4 kB / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1285, allocations: 0 / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.1287, allocations: 191.1 kB / 478.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.1288, allocations: 116.5 kB / 479 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.1288, allocations: 3.984 kB / 479 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.1289, allocations: 0 / 479 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.1289, allocations: 7.938 kB / 479 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1289, allocations: 4.031 kB / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005663/0.1295, allocations: 0.6588 MB / 479.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1295, allocations: 0 / 479.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1298, allocations: 16 kB / 479.7 MB, free: 5.234 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 (2): * Single equations (assignments): 2 * 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.001081/0.1308, allocations: 0.9699 MB / 480.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.131, allocations: 31.98 kB / 480.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.131, allocations: 0 / 480.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.107e-05/0.131, allocations: 15.92 kB / 480.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1314, allocations: 25.95 kB / 480.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.134, allocations: 2.227 MB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.1344, allocations: 0.8185 MB / 483.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.835e-05/0.1345, allocations: 16.16 kB / 483.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.1346, allocations: 99.39 kB / 483.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1346, allocations: 0 / 483.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.1531, allocations: 5.122 MB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/0.1534, allocations: 241.4 kB / 489.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.073, allocations: 0 / 489.3 MB, free: 11.78 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat does not exist to compare? outputFormat=mat