Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 107.2 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 185.5 kB / 22.98 MB, free: 5.062 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.705/1.705, allocations: 207.6 MB / 233.7 MB, free: 9.996 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.282/0.282, allocations: 44.24 MB / 330.2 MB, free: 9.551 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.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: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002506/0.002506, allocations: 67.89 kB / 468 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1635, allocations: 61.04 MB / 0.5166 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.004273/0.1678, allocations: 1.638 MB / 0.5182 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009099/0.1687, allocations: 359.6 kB / 0.5185 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1688, allocations: 0 / 0.5185 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007643/0.1696, allocations: 463.1 kB / 0.519 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004941/0.1701, allocations: 251.5 kB / 0.5192 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.1707, allocations: 155.6 kB / 0.5194 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003887/0.171, allocations: 167.6 kB / 0.5195 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1712, allocations: 27.95 kB / 0.5196 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.1714, allocations: 103.8 kB / 0.5197 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.1718, allocations: 247.5 kB / 0.5199 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.1718, allocations: 4 kB / 0.5199 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.172, allocations: 35.98 kB / 0.5199 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.1721, allocations: 87.58 kB / 0.52 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.1722, allocations: 99.05 kB / 0.5201 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.1728, allocations: 266.6 kB / 0.5204 GB, free: 2.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.1728, allocations: 3.984 kB / 0.5204 GB, free: 2.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1728, allocations: 0 / 0.5204 GB, free: 2.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.1728, allocations: 0 / 0.5204 GB, free: 2.973 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001123/0.1739, allocations: 0.5699 MB / 0.5209 GB, free: 2.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.174, allocations: 11.97 kB / 0.5209 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.1741, allocations: 44.66 kB / 0.521 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.1745, allocations: 246.7 kB / 0.5212 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.1745, allocations: 8.375 kB / 0.5212 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.1745, allocations: 4.375 kB / 0.5212 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1748, allocations: 61.8 kB / 0.5213 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1748, allocations: 4 kB / 0.5213 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1748, allocations: 0 / 0.5213 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1748, allocations: 0 / 0.5213 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1749, allocations: 43.95 kB / 0.5213 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006723/0.1756, allocations: 371.7 kB / 0.5217 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.1758, allocations: 46.56 kB / 0.5217 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.1759, allocations: 24.94 kB / 0.5217 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.1759, allocations: 8.047 kB / 0.5218 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.1759, allocations: 30.56 kB / 0.5218 GB, free: 1.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1759, allocations: 4 kB / 0.5218 GB, free: 1.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001012/0.1769, allocations: 308.6 kB / 0.5221 GB, free: 1.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.177, allocations: 51.41 kB / 0.5221 GB, free: 1.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009844/0.178, allocations: 0.8574 MB / 0.523 GB, free: 148 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.178, allocations: 29.7 kB / 0.523 GB, free: 112 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.1782, allocations: 212.1 kB / 0.5232 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.1782, allocations: 23.8 kB / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.1783, allocations: 21.72 kB / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002408/0.1785, allocations: 366.7 kB / 0.5236 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1787, allocations: 35.91 kB / 0.5236 GB, free: 15.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1788, allocations: 44.05 kB / 0.5237 GB, free: 15.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.1791, allocations: 88.94 kB / 0.5238 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1791, allocations: 0 / 0.5238 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003796/0.1795, allocations: 157.2 kB / 0.5239 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.1795, allocations: 12 kB / 0.5239 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.1795, allocations: 288 / 0.5239 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.1795, allocations: 0 / 0.5239 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1797, allocations: 27.92 kB / 0.5239 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1797, allocations: 0 / 0.5239 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.532e-05/0.1798, allocations: 11.92 kB / 0.524 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.1798, allocations: 4 kB / 0.524 GB, free: 15.1 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 (7): * Single equations (assignments): 7 * 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.000268/0.18, allocations: 213.8 kB / 0.5242 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.661e-05/0.1801, allocations: 55.66 kB / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004994/0.1806, allocations: 173.4 kB / 0.5244 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1806, allocations: 0 / 0.5244 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1807, allocations: 0 / 0.5244 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.1807, allocations: 3.938 kB / 0.5244 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008502/0.1815, allocations: 497.4 kB / 0.5249 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1815, allocations: 0 / 0.5249 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.1816, allocations: 19.98 kB / 0.5249 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/0.1816, allocations: 4 kB / 0.5249 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.1816, allocations: 3.938 kB / 0.5249 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1817, allocations: 0 / 0.5249 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1817, allocations: 0 / 0.5249 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.1822, allocations: 259.1 kB / 0.5251 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.1822, allocations: 35.66 kB / 0.5252 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.1823, allocations: 3.938 kB / 0.5252 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1824, allocations: 11.98 kB / 0.5252 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.1824, allocations: 7.984 kB / 0.5252 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1824, allocations: 4 kB / 0.5252 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007921/0.1832, allocations: 0.6472 MB / 0.5258 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1832, allocations: 0 / 0.5258 GB, free: 13.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.1835, allocations: 24 kB / 0.5258 GB, free: 13.08 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 (7): * Single equations (assignments): 7 * 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.001741/0.1853, allocations: 411 kB / 0.5262 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.1856, allocations: 87.86 kB / 0.5263 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.1857, allocations: 4 kB / 0.5263 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1858, allocations: 44.12 kB / 0.5264 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.1863, allocations: 33.95 kB / 0.5264 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.1879, allocations: 0.822 MB / 0.5272 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/0.1885, allocations: 0.8298 MB / 0.528 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.708e-05/0.1886, allocations: 19.98 kB / 0.528 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.1886, allocations: 11.44 kB / 0.528 GB, free: 10.82 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1886, allocations: 0 / 0.528 GB, free: 10.82 MB / 414.1 MB Notification: Performance of Templates: time 0.006296/0.1949, allocations: 1.655 MB / 0.5297 GB, free: 9.168 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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: 5.825414638034999]