Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",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.00104/0.00104, allocations: 92.8 kB / 17 MB, free: 6.355 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.001074/0.001074, allocations: 186.2 kB / 17.89 MB, free: 5.926 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.376/1.376, allocations: 223.3 MB / 241.9 MB, free: 14.6 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.2247/0.2247, allocations: 44.22 MB / 337.2 MB, free: 2.555 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 12.98 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1618, allocations: 61.92 MB / 471.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002217/0.1641, allocations: 1.341 MB / 473 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006947/0.1648, allocations: 379.6 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.1649, allocations: 0 / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.1651, allocations: 47.88 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.1653, allocations: 39.89 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.1656, allocations: 114.9 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.1658, allocations: 67.81 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.1658, allocations: 15.98 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.1659, allocations: 23.92 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.957e-05/0.166, allocations: 35.78 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.166, allocations: 0 / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1662, allocations: 35.98 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.1662, allocations: 19.92 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.1663, allocations: 37.64 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1664, allocations: 84.03 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1664, allocations: 0 / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1664, allocations: 0 / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1665, allocations: 0 / 473.9 MB, free: 11.36 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005653/0.167, allocations: 401.3 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1671, allocations: 8.031 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.1671, allocations: 34.56 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.1672, allocations: 19.89 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.1674, allocations: 191.4 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1674, allocations: 3.984 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.1674, allocations: 7.953 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1676, allocations: 61.67 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1676, allocations: 8 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1676, allocations: 0 / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1676, allocations: 0 / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.1678, allocations: 47.91 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.1681, allocations: 312.7 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.1684, allocations: 70.52 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.705e-05/0.1685, allocations: 28.97 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1685, allocations: 4 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.1685, allocations: 30.56 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1685, allocations: 4 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001416/0.1699, allocations: 449 kB / 475.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.17, allocations: 55.41 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1702, allocations: 176.2 kB / 475.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1702, allocations: 29.7 kB / 475.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1704, allocations: 104 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.1704, allocations: 35.48 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.1704, allocations: 0 / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1705, allocations: 322.8 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1707, allocations: 55.97 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1708, allocations: 43.97 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1709, allocations: 68.17 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1709, allocations: 0 / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003088/0.1712, allocations: 157.5 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1713, allocations: 6.656 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1713, allocations: 3.938 kB / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1713, allocations: 0 / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1714, allocations: 31.92 kB / 476.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1714, allocations: 7.984 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.1715, allocations: 15.95 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.1715, allocations: 4 kB / 476.6 MB, free: 8.387 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 (11): * Single equations (assignments): 11 * 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.0001055/0.1716, allocations: 126.4 kB / 476.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.1717, allocations: 7.906 kB / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.172, allocations: 186.8 kB / 476.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.1721, allocations: 4 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1721, allocations: 3.938 kB / 476.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1721, allocations: 0 / 476.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/0.1728, allocations: 488 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1728, allocations: 4 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1729, allocations: 35.91 kB / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1729, allocations: 0 / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1729, allocations: 8 kB / 477.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.173, allocations: 3.953 kB / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.173, allocations: 0 / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.1733, allocations: 269 kB / 477.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.1734, allocations: 92.92 kB / 477.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.1734, allocations: 4 kB / 477.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.1735, allocations: 11.98 kB / 477.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.1736, allocations: 19.94 kB / 477.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.1736, allocations: 0 / 477.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.1737, allocations: 138 kB / 478 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1737, allocations: 4 kB / 478 MB, free: 6.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.174, allocations: 24 kB / 478 MB, free: 6.871 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001628/0.1756, allocations: 1.148 MB / 479.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003213/0.176, allocations: 119.9 kB / 479.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.176, allocations: 0 / 479.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1761, allocations: 67.84 kB / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1765, allocations: 27 kB / 479.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.178, allocations: 0.8196 MB / 480.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1783, allocations: 0.7043 MB / 480.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.956e-05/0.1784, allocations: 20.41 kB / 480.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1785, allocations: 31.42 kB / 480.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1785, allocations: 0 / 480.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.1942, allocations: 2.748 MB / 483.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003442/0.1946, allocations: 220.4 kB / 483.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.052, allocations: 0 / 483.9 MB, free: 1.148 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat does not exist to compare? outputFormat=mat