Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 104.3 kB / 19.7 MB, free: 2.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002216/0.002216, allocations: 212.1 kB / 22.99 MB, free: 4.879 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2553/0.2553, allocations: 44.26 MB / 330.4 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 70.72 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1567, allocations: 61.05 MB / 0.5162 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.003608/0.1603, allocations: 1.902 MB / 0.518 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1616, allocations: 0.655 MB / 0.5187 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.479e-05/0.1617, allocations: 4 kB / 0.5187 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.1622, allocations: 251.2 kB / 0.5189 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.1626, allocations: 199.3 kB / 0.5191 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1637, allocations: 443.1 kB / 0.5195 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.1641, allocations: 283.2 kB / 0.5198 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.1642, allocations: 44.91 kB / 0.5198 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.1644, allocations: 143.4 kB / 0.52 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.1647, allocations: 199.3 kB / 0.5202 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.1648, allocations: 12 kB / 0.5202 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.1649, allocations: 71.91 kB / 0.5202 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.165, allocations: 91.66 kB / 0.5203 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1652, allocations: 87.22 kB / 0.5204 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.1656, allocations: 314.5 kB / 0.5207 GB, free: 2.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1656, allocations: 3.938 kB / 0.5207 GB, free: 2.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1656, allocations: 4 kB / 0.5207 GB, free: 2.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1656, allocations: 0 / 0.5207 GB, free: 2.461 MB / 398.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.000888/0.1665, allocations: 0.5856 MB / 0.5213 GB, free: 1.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1666, allocations: 8.031 kB / 0.5213 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.353e-05/0.1666, allocations: 42.75 kB / 0.5213 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.849e-05/0.1667, allocations: 48.59 kB / 0.5214 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.1671, allocations: 252.7 kB / 0.5216 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1671, allocations: 8.375 kB / 0.5216 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.1671, allocations: 12.38 kB / 0.5216 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.1674, allocations: 113.5 kB / 0.5218 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1674, allocations: 7.984 kB / 0.5218 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1674, allocations: 4 kB / 0.5218 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1674, allocations: 4 kB / 0.5218 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.1676, allocations: 63.95 kB / 0.5218 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.1683, allocations: 435.5 kB / 0.5222 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.1685, allocations: 90.48 kB / 0.5223 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.13e-05/0.1685, allocations: 32.84 kB / 0.5224 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1686, allocations: 3.984 kB / 0.5224 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.1686, allocations: 46.5 kB / 0.5224 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1686, allocations: 224 / 0.5224 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009233/0.1695, allocations: 385.1 kB / 0.5228 GB, free: 212 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.1696, allocations: 55.41 kB / 0.5228 GB, free: 144 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.1703, allocations: 0.5448 MB / 0.5234 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.1703, allocations: 29.7 kB / 0.5234 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1704, allocations: 196.4 kB / 0.5236 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.1705, allocations: 67.42 kB / 0.5236 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.1706, allocations: 33.72 kB / 0.5237 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1707, allocations: 350.8 kB / 0.524 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1709, allocations: 55.91 kB / 0.5241 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.171, allocations: 52.91 kB / 0.5241 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.1712, allocations: 126.5 kB / 0.5242 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1712, allocations: 0 / 0.5242 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003537/0.1716, allocations: 193.3 kB / 0.5244 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1716, allocations: 14.81 kB / 0.5244 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1716, allocations: 0 / 0.5244 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1716, allocations: 3.984 kB / 0.5244 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.1718, allocations: 35.92 kB / 0.5245 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1718, allocations: 0 / 0.5245 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.1719, allocations: 11.98 kB / 0.5245 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1719, allocations: 4 kB / 0.5245 GB, free: 14.41 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.1721, allocations: 181.7 kB / 0.5247 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/0.1722, allocations: 43.7 kB / 0.5247 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004888/0.1727, allocations: 237.4 kB / 0.5249 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1727, allocations: 3.938 kB / 0.5249 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1727, allocations: 0 / 0.5249 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1727, allocations: 0 / 0.5249 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008443/0.1735, allocations: 0.5753 MB / 0.5255 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1735, allocations: 0 / 0.5255 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.1736, allocations: 31.98 kB / 0.5255 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.1736, allocations: 8 kB / 0.5255 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1737, allocations: 4 kB / 0.5255 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1737, allocations: 7.875 kB / 0.5255 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1737, allocations: 0 / 0.5255 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.1741, allocations: 301.3 kB / 0.5258 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.1741, allocations: 39.73 kB / 0.5259 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.1742, allocations: 8 kB / 0.5259 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1743, allocations: 7.938 kB / 0.5259 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.1743, allocations: 11.97 kB / 0.5259 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1743, allocations: 12 kB / 0.5259 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004729/0.1748, allocations: 411.1 kB / 0.5263 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1748, allocations: 0 / 0.5263 GB, free: 12.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003139/0.1751, allocations: 47.94 kB / 0.5263 GB, free: 12.43 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003702/0.1788, allocations: 1.476 MB / 0.5278 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.1792, allocations: 131.8 kB / 0.5279 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1792, allocations: 0 / 0.5279 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1793, allocations: 71.84 kB / 0.528 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.1799, allocations: 81.41 kB / 0.5281 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.1842, allocations: 3.032 MB / 0.531 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.1844, allocations: 199.5 kB / 0.5312 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.1846, allocations: 45.91 kB / 0.5313 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.1848, allocations: 127.4 kB / 0.5314 GB, free: 7.199 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1848, allocations: 4 kB / 0.5314 GB, free: 7.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2525/0.4372, allocations: 7.932 MB / 0.5391 GB, free: 28.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.91, allocations: 4.422 kB / 0.5391 GB, free: 28.98 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.194280683994293]