Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001358/0.001358, allocations: 95.47 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.001395/0.001396, allocations: 180.8 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.436/1.436, 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.2156/0.2156, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003221, allocations: 8 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002835/0.1485, allocations: 1.275 MB / 472.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1496, allocations: 363.6 kB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.1497, allocations: 0 / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008564/0.1506, allocations: 431.2 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.1511, allocations: 247.5 kB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.1516, allocations: 107.2 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.1519, allocations: 111.7 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.152, allocations: 12 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.1522, allocations: 99.78 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.1525, allocations: 151.7 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.1525, allocations: 0 / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.1526, allocations: 11.94 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.1528, allocations: 83.75 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.1529, allocations: 65.45 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.1532, allocations: 175.8 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1532, allocations: 4 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1532, allocations: 0 / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1533, allocations: 4 kB / 474.6 MB, free: 10.52 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.0009839/0.1542, allocations: 0.5913 MB / 475.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.1543, allocations: 12.03 kB / 475.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.1544, allocations: 34.5 kB / 475.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.1545, allocations: 39.44 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.1549, allocations: 275.4 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1549, allocations: 4 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.155, allocations: 7.953 kB / 475.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.1552, allocations: 61.61 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1553, allocations: 0 / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1553, allocations: 0 / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1553, allocations: 0 / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.1556, allocations: 39.97 kB / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006903/0.1563, allocations: 376.8 kB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.1565, allocations: 54.48 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1566, allocations: 3.938 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.1566, allocations: 34.56 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.465e-06/0.1566, allocations: 0 / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006017/0.1572, allocations: 129.4 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1573, allocations: 55.41 kB / 476.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.1589, allocations: 0.8574 MB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1589, allocations: 25.7 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.1592, allocations: 212 kB / 477.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.1593, allocations: 23.75 kB / 477.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.1593, allocations: 0 / 477.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.1596, allocations: 358.8 kB / 477.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1597, allocations: 19.98 kB / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1599, allocations: 19.98 kB / 477.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.16, allocations: 23.94 kB / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1601, allocations: 0 / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003851/0.1605, allocations: 109.2 kB / 478 MB, free: 6.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.1605, allocations: 8 kB / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1605, allocations: 0 / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1606, allocations: 0 / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1607, allocations: 15.98 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1607, allocations: 0 / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.1609, allocations: 15.91 kB / 478 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1609, allocations: 0 / 478 MB, free: 6.922 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.000348/0.1613, allocations: 218.2 kB / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/0.1614, allocations: 35.53 kB / 478.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.1619, allocations: 129 kB / 478.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1619, allocations: 4 kB / 478.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1619, allocations: 0 / 478.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1619, allocations: 0 / 478.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.1624, allocations: 281.5 kB / 478.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1624, allocations: 11.89 kB / 478.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/0.1625, allocations: 8 kB / 478.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1626, allocations: 0 / 478.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1626, allocations: 4 kB / 478.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1626, allocations: 4 kB / 478.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.1626, allocations: 0 / 478.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.163, allocations: 214.8 kB / 478.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.1632, allocations: 116.5 kB / 479 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.1633, allocations: 7.984 kB / 479 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.1635, allocations: 4 kB / 479 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.1635, allocations: 4 kB / 479 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1636, allocations: 0 / 479 MB, free: 5.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001094/0.1647, allocations: 0.6511 MB / 479.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1647, allocations: 0 / 479.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004546/0.1651, allocations: 20 kB / 479.7 MB, free: 5.125 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.002043/0.1672, allocations: 0.9906 MB / 480.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.1675, allocations: 39.97 kB / 480.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1675, allocations: 0 / 480.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.1677, allocations: 27.98 kB / 480.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.1681, allocations: 24.62 kB / 480.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.1727, allocations: 2.169 MB / 482.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.1734, allocations: 0.8262 MB / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.764e-05/0.1735, allocations: 8.172 kB / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.1737, allocations: 111.4 kB / 483.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1737, allocations: 4 kB / 483.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.1944, allocations: 5.14 MB / 489 MB, free: 11.92 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.1946, allocations: 222.2 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/1.929, allocations: 0 / 489.3 MB, free: 11.68 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat does not exist to compare? outputFormat=mat