Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.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.001864/0.001864, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001998/0.001998, allocations: 215.7 kB / 22.99 MB, free: 4.602 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.724/1.724, 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.2838/0.2838, allocations: 44.27 MB / 330.3 MB, free: 9.309 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: translateModel(ModelicaTest.Tables.CombiTable1D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19") translateModel(ModelicaTest.Tables.CombiTable1D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19") [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.002768/0.002768, allocations: 71.91 kB / 468 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1663, allocations: 61.04 MB / 0.5166 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.004867/0.1711, allocations: 1.561 MB / 0.5182 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1734, allocations: 1.029 MB / 0.5192 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1735, allocations: 0 / 0.5192 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.1739, allocations: 27.84 kB / 0.5192 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.1742, allocations: 43.78 kB / 0.5192 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.1746, allocations: 91.81 kB / 0.5193 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.1748, allocations: 59.78 kB / 0.5194 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1749, allocations: 19.95 kB / 0.5194 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.175, allocations: 19.94 kB / 0.5194 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.1752, allocations: 23.8 kB / 0.5195 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1752, allocations: 4 kB / 0.5195 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.1754, allocations: 55.95 kB / 0.5195 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.717e-05/0.1754, allocations: 11.94 kB / 0.5195 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.1755, allocations: 15.92 kB / 0.5195 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.1758, allocations: 83.66 kB / 0.5196 GB, free: 3.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1758, allocations: 0 / 0.5196 GB, free: 3.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.614e-06/0.1758, allocations: 3.984 kB / 0.5196 GB, free: 3.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1758, allocations: 0 / 0.5196 GB, free: 3.609 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006999/0.1765, allocations: 305.9 kB / 0.5199 GB, free: 3.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1766, allocations: 12.03 kB / 0.5199 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/0.1766, allocations: 8.891 kB / 0.5199 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.1769, allocations: 130.5 kB / 0.5201 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.177, allocations: 384 / 0.5201 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.177, allocations: 384 / 0.5201 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.1773, allocations: 93.23 kB / 0.5201 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.1773, allocations: 0 / 0.5201 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.1773, allocations: 0 / 0.5201 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1773, allocations: 0 / 0.5201 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.1774, allocations: 35.91 kB / 0.5202 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.1781, allocations: 224.5 kB / 0.5204 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.1784, allocations: 42.56 kB / 0.5204 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.216e-05/0.1785, allocations: 16.94 kB / 0.5204 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.1785, allocations: 0 / 0.5204 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.645e-05/0.1786, allocations: 46.5 kB / 0.5205 GB, free: 2.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1786, allocations: 0 / 0.5205 GB, free: 2.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008277/0.1794, allocations: 145.4 kB / 0.5206 GB, free: 2.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.1795, allocations: 81.11 kB / 0.5207 GB, free: 2.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1797, allocations: 129.8 kB / 0.5208 GB, free: 2.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.868e-05/0.1798, allocations: 29.7 kB / 0.5209 GB, free: 2.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1799, allocations: 92.08 kB / 0.5209 GB, free: 2.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.18, allocations: 27.78 kB / 0.521 GB, free: 2.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.1801, allocations: 13.72 kB / 0.521 GB, free: 2.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.1803, allocations: 322.8 kB / 0.5213 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.475e-05/0.1804, allocations: 23.97 kB / 0.5213 GB, free: 1.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1805, allocations: 59.41 kB / 0.5214 GB, free: 1.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1807, allocations: 52.83 kB / 0.5214 GB, free: 1.559 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1807, allocations: 3.938 kB / 0.5214 GB, free: 1.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002605/0.181, allocations: 89.55 kB / 0.5215 GB, free: 1.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.181, allocations: 4 kB / 0.5215 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.181, allocations: 4 kB / 0.5215 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.181, allocations: 4.031 kB / 0.5215 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.47e-05/0.1811, allocations: 8.281 kB / 0.5215 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.1811, allocations: 3.984 kB / 0.5215 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.1812, allocations: 4 kB / 0.5215 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1812, allocations: 0 / 0.5215 GB, free: 1.434 MB / 398.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 (5): * Single equations (assignments): 5 * 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.0001566/0.1813, allocations: 121.8 kB / 0.5217 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.1814, allocations: 3.953 kB / 0.5217 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.1817, allocations: 105.6 kB / 0.5218 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1817, allocations: 4 kB / 0.5218 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.1817, allocations: 320 / 0.5218 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1817, allocations: 0 / 0.5218 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.1823, allocations: 302.2 kB / 0.5221 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1823, allocations: 0 / 0.5221 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/0.1823, allocations: 8 kB / 0.5221 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1823, allocations: 0 / 0.5221 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1824, allocations: 4 kB / 0.5221 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1824, allocations: 3.938 kB / 0.5221 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1824, allocations: 4 kB / 0.5221 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.1827, allocations: 183.4 kB / 0.5222 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.1827, allocations: 4 kB / 0.5223 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.1827, allocations: 7.984 kB / 0.5223 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.349e-05/0.1828, allocations: 0 / 0.5223 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.1828, allocations: 7.984 kB / 0.5223 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1828, allocations: 3.938 kB / 0.5223 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1829, allocations: 107.8 kB / 0.5224 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1829, allocations: 0 / 0.5224 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.1832, allocations: 27.94 kB / 0.5224 GB, free: 492 kB / 398.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 (5): * Single equations (assignments): 5 * 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.001957/0.1852, allocations: 473.3 kB / 0.5229 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.1855, allocations: 59.89 kB / 0.5229 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1855, allocations: 0 / 0.5229 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1856, allocations: 27.98 kB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.186, allocations: 19.84 kB / 0.523 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.1864, allocations: 165.3 kB / 0.5231 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.326e-05/0.1865, allocations: 75.52 kB / 0.5232 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.028e-05/0.1866, allocations: 16.22 kB / 0.5232 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.1867, allocations: 23.42 kB / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1867, allocations: 0 / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Templates: time 0.005816/0.1925, allocations: 1.412 MB / 0.5246 GB, free: 14.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.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.66965176910162]