Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",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.000933/0.000933, allocations: 95.64 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.0008421/0.0008423, allocations: 186.9 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.496/1.496, allocations: 223.2 MB / 241.8 MB, free: 404 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.2522/0.2522, allocations: 44.23 MB / 337.1 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003374, allocations: 8 kB / 409.6 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 61.92 MB / 471.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002404/0.1319, allocations: 1.611 MB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1332, allocations: 0.7174 MB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.1333, allocations: 7.938 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.1338, allocations: 223.5 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.1341, allocations: 179.5 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009395/0.135, allocations: 445.8 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.1353, allocations: 179.6 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1355, allocations: 52.58 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1356, allocations: 111.5 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.1358, allocations: 143.5 kB / 475.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1359, allocations: 4 kB / 475.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.136, allocations: 35.92 kB / 475.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.406e-05/0.1361, allocations: 79.67 kB / 475.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.1361, allocations: 65.52 kB / 475.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.1364, allocations: 231.7 kB / 475.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.1364, allocations: 0 / 475.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1364, allocations: 0 / 475.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1364, allocations: 0 / 475.6 MB, free: 9.625 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007261/0.1372, allocations: 0.5953 MB / 476.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1372, allocations: 8.031 kB / 476.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.1373, allocations: 46.55 kB / 476.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.1373, allocations: 39.44 kB / 476.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.1377, allocations: 297.2 kB / 476.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1377, allocations: 8 kB / 476.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.1378, allocations: 15.95 kB / 476.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.138, allocations: 113.6 kB / 476.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.138, allocations: 3.984 kB / 476.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.138, allocations: 8 kB / 476.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1381, allocations: 0 / 476.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1382, allocations: 71.95 kB / 476.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/0.1389, allocations: 0.4923 MB / 477.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1391, allocations: 106.4 kB / 477.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.1391, allocations: 0 / 477.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1392, allocations: 34.56 kB / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 8.91e-07/0.1392, allocations: 4 kB / 477.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008984/0.1401, allocations: 388.1 kB / 477.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.1401, allocations: 59.34 kB / 477.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005498/0.1407, allocations: 0.5447 MB / 478.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1407, allocations: 29.7 kB / 478.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.1409, allocations: 208.3 kB / 478.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.1409, allocations: 59.12 kB / 478.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.1409, allocations: 4 kB / 478.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1411, allocations: 350.8 kB / 479 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1412, allocations: 55.97 kB / 479.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.706e-05/0.1413, allocations: 54.31 kB / 479.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1414, allocations: 59.98 kB / 479.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1414, allocations: 0 / 479.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003066/0.1417, allocations: 201 kB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.1418, allocations: 10.02 kB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1418, allocations: 0 / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1418, allocations: 3.938 kB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.142, allocations: 43.92 kB / 479.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.142, allocations: 0 / 479.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.1421, allocations: 15.98 kB / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1421, allocations: 4 kB / 479.5 MB, free: 5.516 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 (17): * Single equations (assignments): 17 * 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.0001451/0.1422, allocations: 170.3 kB / 479.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.1423, allocations: 43.39 kB / 479.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/0.1427, allocations: 245.4 kB / 479.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1427, allocations: 0 / 479.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1427, allocations: 7.984 kB / 479.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1427, allocations: 0 / 479.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007641/0.1435, allocations: 0.6366 MB / 480.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1435, allocations: 0 / 480.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1436, allocations: 31.98 kB / 480.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1436, allocations: 4 kB / 480.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1437, allocations: 4 kB / 480.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.1437, allocations: 3.984 kB / 480.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1437, allocations: 7.938 kB / 480.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.144, allocations: 306.8 kB / 480.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.1441, allocations: 120.6 kB / 481 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.1442, allocations: 4 kB / 481 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.1443, allocations: 8 kB / 481 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.1443, allocations: 23.97 kB / 481.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1443, allocations: 4 kB / 481.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003767/0.1447, allocations: 407.1 kB / 481.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1447, allocations: 0 / 481.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.1451, allocations: 44 kB / 481.5 MB, free: 3.367 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 (17): * Single equations (assignments): 17 * 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.002025/0.1471, allocations: 1.441 MB / 482.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.1474, allocations: 142.8 kB / 483.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1474, allocations: 4 kB / 483.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1475, allocations: 71.91 kB / 483.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.148, allocations: 69.48 kB / 483.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.1506, allocations: 1.92 MB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.151, allocations: 0.8145 MB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.1511, allocations: 41.91 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.1513, allocations: 127.4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1513, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.1688, allocations: 6.553 MB / 492.7 MB, free: 8.535 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.169, allocations: 218.3 kB / 492.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/1.959, allocations: 0 / 492.9 MB, free: 8.293 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat does not exist to compare? outputFormat=mat