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.001079/0.001078, allocations: 96.92 kB / 16.99 MB, free: 5.941 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.001314/0.001314, allocations: 181.5 kB / 17.87 MB, free: 5.609 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.458/1.458, 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.236/0.236, allocations: 44.22 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.000429, allocations: 15.98 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1213, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.00169/0.123, allocations: 1.279 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005875/0.1236, allocations: 347.7 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.1237, allocations: 3.938 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004943/0.1242, allocations: 435.2 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.1245, allocations: 235.6 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.1247, allocations: 114.7 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1249, allocations: 107.8 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.125, allocations: 12 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1251, allocations: 103.7 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.1253, allocations: 139.8 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1253, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.646e-05/0.1254, allocations: 15.92 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1255, allocations: 83.69 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.1256, allocations: 69.52 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.1258, allocations: 171.8 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1258, allocations: 0 / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1258, allocations: 0 / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1258, allocations: 0 / 474.6 MB, free: 10.55 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.0005852/0.1264, allocations: 0.5951 MB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1264, allocations: 11.97 kB / 475.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.1265, allocations: 30.56 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.1265, allocations: 51.44 kB / 475.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1268, allocations: 267.4 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-06/0.1268, allocations: 0 / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1268, allocations: 7.953 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1269, allocations: 49.69 kB / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.127, allocations: 0 / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.127, allocations: 0 / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.127, allocations: 0 / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.1271, allocations: 31.92 kB / 475.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.1275, allocations: 380.7 kB / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.154e-05/0.1276, allocations: 34.56 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1276, allocations: 0 / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1276, allocations: 34.56 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1276, allocations: 3.938 kB / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002472/0.1279, allocations: 101.2 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.1279, allocations: 51.41 kB / 476.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007867/0.1287, allocations: 0.8652 MB / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1287, allocations: 29.7 kB / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.1289, allocations: 220.2 kB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.1289, allocations: 11.84 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-06/0.129, allocations: 0 / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1291, allocations: 362.7 kB / 477.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.1292, allocations: 8 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.1292, allocations: 15.98 kB / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.245e-05/0.1293, allocations: 12.06 kB / 477.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1293, allocations: 0 / 477.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000142/0.1294, allocations: 97.06 kB / 477.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1294, allocations: 4 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1294, allocations: 0 / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1295, allocations: 0 / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.1295, allocations: 7.984 kB / 477.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1295, allocations: 8.031 kB / 477.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.1296, allocations: 0 / 477.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1296, allocations: 4 kB / 477.9 MB, free: 7.066 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.0001808/0.1298, allocations: 214.2 kB / 478.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.1299, allocations: 43.44 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.1301, allocations: 116.5 kB / 478.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1301, allocations: 4 kB / 478.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1301, allocations: 0 / 478.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1301, allocations: 0 / 478.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.1304, allocations: 289.5 kB / 478.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1304, allocations: 0 / 478.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.1304, allocations: 4 kB / 478.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1304, allocations: 4 kB / 478.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.1304, allocations: 0 / 478.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1305, allocations: 0 / 478.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1305, allocations: 0 / 478.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.1307, allocations: 187.1 kB / 478.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.672e-05/0.1308, allocations: 116.5 kB / 478.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1308, allocations: 11.92 kB / 478.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.1309, allocations: 0 / 478.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.1309, allocations: 7.938 kB / 478.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1309, allocations: 4.031 kB / 478.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005985/0.1315, allocations: 0.6511 MB / 479.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1315, allocations: 0 / 479.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1318, allocations: 20 kB / 479.5 MB, free: 5.312 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.001074/0.1329, allocations: 0.9608 MB / 480.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.133, allocations: 35.92 kB / 480.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.133, allocations: 0 / 480.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.431e-05/0.1331, allocations: 11.98 kB / 480.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.1333, allocations: 28.55 kB / 480.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.1359, allocations: 2.137 MB / 482.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.1363, allocations: 0.8262 MB / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.253e-05/0.1364, allocations: 8.172 kB / 483.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.1365, allocations: 107.4 kB / 483.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1365, allocations: 0 / 483.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.1539, allocations: 5.11 MB / 488.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.1542, allocations: 214.5 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/1.907, allocations: 0 / 489 MB, free: 11.98 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