Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",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.0009057/0.0009056, allocations: 100.2 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.0009202/0.0009203, allocations: 187.6 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.426/1.426, 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.2191/0.2191, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005548/0.0005549, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1614, allocations: 61.92 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001898/0.1633, allocations: 1.321 MB / 472.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007168/0.1641, allocations: 391.5 kB / 473.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.808e-05/0.1642, allocations: 0 / 473.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.1647, allocations: 435.2 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.1651, allocations: 251.5 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.1656, allocations: 150.6 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.1658, allocations: 119.8 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.741e-05/0.1659, allocations: 7.984 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1661, allocations: 107.7 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1663, allocations: 151.7 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1663, allocations: 0 / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.421e-05/0.1664, allocations: 23.98 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.292e-05/0.1665, allocations: 75.75 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.1665, allocations: 69.45 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1668, allocations: 195.9 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1668, allocations: 0 / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1668, allocations: 3.938 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1668, allocations: 0 / 474.8 MB, free: 10.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006735/0.1675, allocations: 0.6028 MB / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1675, allocations: 8.031 kB / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.1676, allocations: 30.56 kB / 475.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.1676, allocations: 43.44 kB / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1679, allocations: 279.2 kB / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.1679, allocations: 0 / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1679, allocations: 11.95 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1681, allocations: 69.66 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1681, allocations: 3.984 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1682, allocations: 0 / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1682, allocations: 0 / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.1683, allocations: 43.97 kB / 475.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.1689, allocations: 416.6 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.169, allocations: 46.56 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.169, allocations: 8 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1691, allocations: 30.56 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.244e-06/0.1691, allocations: 3.984 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008881/0.17, allocations: 339.9 kB / 476.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.17, allocations: 55.41 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008017/0.1708, allocations: 0.8613 MB / 477.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1708, allocations: 29.7 kB / 477.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.171, allocations: 208.1 kB / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.171, allocations: 35.64 kB / 477.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-06/0.1711, allocations: 0 / 477.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1712, allocations: 366.7 kB / 478.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.1713, allocations: 47.97 kB / 478.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.1715, allocations: 47.97 kB / 478.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1716, allocations: 55.89 kB / 478.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1716, allocations: 0 / 478.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000312/0.1719, allocations: 169.1 kB / 478.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1719, allocations: 4 kB / 478.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.172, allocations: 320 / 478.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.172, allocations: 4 kB / 478.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1721, allocations: 23.98 kB / 478.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1721, allocations: 3.984 kB / 478.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.144e-05/0.1722, allocations: 20 kB / 478.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.1722, allocations: 3.984 kB / 478.6 MB, free: 6.293 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 (7): * Single equations (assignments): 7 * 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.0002228/0.1725, allocations: 226.2 kB / 478.8 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.1725, allocations: 39.44 kB / 478.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.1729, allocations: 197.4 kB / 479.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1729, allocations: 4 kB / 479.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.1729, allocations: 3.984 kB / 479.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1729, allocations: 0 / 479.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006772/0.1736, allocations: 0.5179 MB / 479.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1736, allocations: 0 / 479.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.541e-05/0.1737, allocations: 27.98 kB / 479.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1737, allocations: 0 / 479.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.1738, allocations: 3.984 kB / 479.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1738, allocations: 0 / 479.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1738, allocations: 0 / 479.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.1741, allocations: 278.9 kB / 479.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.037e-05/0.1742, allocations: 116.5 kB / 480 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.1743, allocations: 0 / 480 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1744, allocations: 19.98 kB / 480 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.1744, allocations: 7.984 kB / 480 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.1744, allocations: 4 kB / 480 MB, free: 4.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006085/0.1751, allocations: 0.6511 MB / 480.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1751, allocations: 0 / 480.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1753, allocations: 24 kB / 480.7 MB, free: 4.082 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 (7): * Single equations (assignments): 7 * 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.001354/0.1767, allocations: 1.113 MB / 481.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000305/0.177, allocations: 103.9 kB / 481.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.177, allocations: 4 kB / 481.9 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.1772, allocations: 55.95 kB / 482 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1775, allocations: 22.28 kB / 482 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.1805, allocations: 2.348 MB / 484.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.1809, allocations: 0.8379 MB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.998e-05/0.181, allocations: 20.66 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.1812, allocations: 115.4 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1812, allocations: 0 / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.1966, allocations: 5.531 MB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.1968, allocations: 226 kB / 491.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.939, allocations: 0 / 491.1 MB, free: 9.844 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat does not exist to compare? outputFormat=mat