Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.001368/0.001368, allocations: 109.7 kB / 18.33 MB, free: 3.977 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.001389/0.001389, allocations: 186 kB / 21.5 MB, free: 0.8203 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.859/1.859, allocations: 207.6 MB / 232.1 MB, free: 3.164 MB / 174.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.4769/0.4769, allocations: 44.23 MB / 328.4 MB, free: 6.246 MB / 254.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.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") [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.002228/0.002228, allocations: 76.25 kB / 465.6 MB, free: 44.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1718, allocations: 61.01 MB / 0.5143 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003799/0.1756, allocations: 1.725 MB / 0.516 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1771, allocations: 0.815 MB / 0.5167 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.86e-05/0.1772, allocations: 0 / 0.5167 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.1776, allocations: 41.52 kB / 0.5168 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.1778, allocations: 56.55 kB / 0.5168 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1781, allocations: 95.75 kB / 0.5169 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1783, allocations: 89.55 kB / 0.517 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1784, allocations: 15.81 kB / 0.517 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1786, allocations: 40.33 kB / 0.5171 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.178e-05/0.1787, allocations: 38.09 kB / 0.5171 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1787, allocations: 2.75 kB / 0.5171 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1788, allocations: 43.53 kB / 0.5172 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.1789, allocations: 17.61 kB / 0.5172 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.1789, allocations: 31.38 kB / 0.5172 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.1792, allocations: 111.2 kB / 0.5173 GB, free: 9.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1792, allocations: 4 kB / 0.5173 GB, free: 9.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1792, allocations: 0 / 0.5173 GB, free: 9.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.1792, allocations: 1.188 kB / 0.5173 GB, free: 9.84 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006437/0.1799, allocations: 405.8 kB / 0.5177 GB, free: 9.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.1799, allocations: 17.47 kB / 0.5177 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.18, allocations: 13.06 kB / 0.5177 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.1803, allocations: 203.8 kB / 0.5179 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1803, allocations: 384 / 0.5179 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.1803, allocations: 12.12 kB / 0.5179 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1805, allocations: 65.55 kB / 0.518 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1805, allocations: 3.953 kB / 0.518 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1805, allocations: 3.984 kB / 0.518 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1806, allocations: 4 kB / 0.518 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.258e-05/0.1806, allocations: 15.98 kB / 0.518 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.181, allocations: 284.9 kB / 0.5183 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.1811, allocations: 58.62 kB / 0.5184 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.1812, allocations: 20.84 kB / 0.5184 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1812, allocations: 0 / 0.5184 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.1814, allocations: 63.39 kB / 0.5184 GB, free: 8.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1814, allocations: 0 / 0.5184 GB, free: 8.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005171/0.1819, allocations: 173.7 kB / 0.5186 GB, free: 8.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.1819, allocations: 59.41 kB / 0.5187 GB, free: 8.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.182, allocations: 172.6 kB / 0.5188 GB, free: 8.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.182, allocations: 25.7 kB / 0.5188 GB, free: 8.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.1821, allocations: 104.1 kB / 0.5189 GB, free: 8.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.1821, allocations: 23.84 kB / 0.519 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.1821, allocations: 21.7 kB / 0.519 GB, free: 7.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.41e-05/0.1822, allocations: 326.8 kB / 0.5193 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/0.1823, allocations: 28.06 kB / 0.5193 GB, free: 7.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.215e-05/0.1823, allocations: 41.58 kB / 0.5194 GB, free: 7.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.702e-05/0.1824, allocations: 61.7 kB / 0.5194 GB, free: 7.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1824, allocations: 0 / 0.5194 GB, free: 7.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001455/0.1826, allocations: 105.5 kB / 0.5195 GB, free: 7.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1826, allocations: 4 kB / 0.5195 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1826, allocations: 4.031 kB / 0.5195 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1826, allocations: 4 kB / 0.5195 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.719e-05/0.1827, allocations: 12 kB / 0.5195 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1827, allocations: 0 / 0.5195 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.1827, allocations: 11.92 kB / 0.5196 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.1827, allocations: 4.156 kB / 0.5196 GB, free: 7.352 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.455e-05/0.1828, allocations: 121.8 kB / 0.5197 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.1828, allocations: 11.95 kB / 0.5197 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.1831, allocations: 122.3 kB / 0.5198 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1831, allocations: 0 / 0.5198 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1831, allocations: 0 / 0.5198 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1831, allocations: 7.875 kB / 0.5198 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.1834, allocations: 387.3 kB / 0.5202 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1834, allocations: 0 / 0.5202 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.1834, allocations: 11.98 kB / 0.5202 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1834, allocations: 0 / 0.5202 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1834, allocations: 7.938 kB / 0.5202 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1835, allocations: 11.97 kB / 0.5202 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1835, allocations: 0 / 0.5202 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.1836, allocations: 196.3 kB / 0.5204 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.1836, allocations: 81.06 kB / 0.5205 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.1837, allocations: 15.92 kB / 0.5205 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.429e-05/0.1837, allocations: 0 / 0.5205 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.1838, allocations: 8 kB / 0.5205 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1838, allocations: 7.984 kB / 0.5205 GB, free: 6.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.4e-05/0.1839, allocations: 135.9 kB / 0.5206 GB, free: 6.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1839, allocations: 0 / 0.5206 GB, free: 6.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1841, allocations: 23.94 kB / 0.5207 GB, free: 6.109 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001646/0.1858, allocations: 487.8 kB / 0.5211 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.1859, allocations: 55.97 kB / 0.5212 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1859, allocations: 0 / 0.5212 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.512e-05/0.186, allocations: 28.08 kB / 0.5212 GB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.1864, allocations: 28.12 kB / 0.5212 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.1868, allocations: 230.7 kB / 0.5215 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.187, allocations: 0.6963 MB / 0.5221 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.187, allocations: 16.88 kB / 0.5221 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.1871, allocations: 15.44 kB / 0.5222 GB, free: 4.559 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1871, allocations: 3.938 kB / 0.5222 GB, free: 4.555 MB / 382.1 MB Notification: Performance of Templates: time 0.004707/0.1918, allocations: 1.7 MB / 0.5238 GB, free: 2.859 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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: 6.105140351690352]