Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",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.0007647/0.0007647, allocations: 93.61 kB / 17 MB, free: 6.113 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.0007603/0.0007603, allocations: 181.5 kB / 17.89 MB, free: 5.691 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.371/1.371, allocations: 223.2 MB / 241.9 MB, free: 356 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.1924/0.1924, allocations: 44.23 MB / 337.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004661, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1498, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002789/0.1526, allocations: 1.33 MB / 473 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000887/0.1536, allocations: 387.6 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.1537, allocations: 4 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.154, allocations: 43.83 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1542, allocations: 43.89 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.1547, allocations: 119.3 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.1549, allocations: 59.83 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.155, allocations: 15.98 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.812e-05/0.1551, allocations: 27.84 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1553, allocations: 31.84 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.1553, allocations: 8 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1554, allocations: 35.97 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.1555, allocations: 19.92 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.1556, allocations: 33.7 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1558, allocations: 76.05 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1558, allocations: 4 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1558, allocations: 0 / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1558, allocations: 3.938 kB / 473.9 MB, free: 11.38 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.0007183/0.1565, allocations: 399 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.1566, allocations: 8.031 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.1567, allocations: 42.5 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.1567, allocations: 7.906 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.157, allocations: 191.4 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.157, allocations: 4 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.1571, allocations: 7.953 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.1573, allocations: 69.61 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1573, allocations: 4 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1573, allocations: 4 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1573, allocations: 0 / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1575, allocations: 47.97 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.158, allocations: 312.6 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.1583, allocations: 58.55 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.858e-05/0.1584, allocations: 28.97 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1584, allocations: 4 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.1584, allocations: 30.66 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.1585, allocations: 3.938 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001476/0.1599, allocations: 457 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.16, allocations: 55.39 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1602, allocations: 176.4 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1602, allocations: 25.7 kB / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.1603, allocations: 108 kB / 475.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.1603, allocations: 27.56 kB / 475.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.1603, allocations: 8 kB / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1605, allocations: 326.8 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.1606, allocations: 47.97 kB / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1608, allocations: 59.95 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1609, allocations: 52.25 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1609, allocations: 0 / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000317/0.1612, allocations: 157.4 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1613, allocations: 6.656 kB / 476.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1613, allocations: 7.938 kB / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1613, allocations: 3.984 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1614, allocations: 31.98 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1614, allocations: 3.938 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.1615, allocations: 19.94 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1615, allocations: 4 kB / 476.6 MB, free: 8.402 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.000106/0.1616, allocations: 126.3 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.1617, allocations: 7.906 kB / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.1621, allocations: 178.9 kB / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1621, allocations: 0 / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1621, allocations: 4 kB / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1621, allocations: 0 / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007122/0.1628, allocations: 499.9 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1628, allocations: 0 / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.962e-05/0.1629, allocations: 27.98 kB / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.163, allocations: 7.938 kB / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.163, allocations: 3.984 kB / 477.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.163, allocations: 12.02 kB / 477.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.163, allocations: 3.938 kB / 477.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.1635, allocations: 261.1 kB / 477.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.1636, allocations: 88.92 kB / 477.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.1636, allocations: 7.984 kB / 477.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1637, allocations: 12 kB / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.1638, allocations: 15.94 kB / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.1638, allocations: 4 kB / 477.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.1639, allocations: 142 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1639, allocations: 0 / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.1643, allocations: 24 kB / 478 MB, free: 6.891 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.001875/0.1661, allocations: 1.144 MB / 479.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003884/0.1665, allocations: 119.9 kB / 479.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1666, allocations: 0 / 479.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.1667, allocations: 72.02 kB / 479.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1671, allocations: 23.89 kB / 479.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1686, allocations: 0.8116 MB / 480.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.169, allocations: 0.7083 MB / 480.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.98e-05/0.1691, allocations: 24.39 kB / 480.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.1691, allocations: 35.36 kB / 480.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1691, allocations: 0 / 480.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01353/0.1827, allocations: 2.757 MB / 483.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.1829, allocations: 216.3 kB / 483.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.037, allocations: 0 / 483.9 MB, free: 1.168 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat does not exist to compare? outputFormat=mat