Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.001838/0.001838, allocations: 109.7 kB / 18.33 MB, free: 3.98 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.001862/0.001862, allocations: 184.5 kB / 21.49 MB, free: 0.8242 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.716/1.716, allocations: 207.6 MB / 232.1 MB, free: 3.145 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.4776/0.4776, allocations: 44.23 MB / 328.4 MB, free: 6.242 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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") [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.002258/0.002258, allocations: 75.3 kB / 465.6 MB, free: 45.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1752, allocations: 61 MB / 0.5143 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003532/0.1787, allocations: 1.721 MB / 0.5159 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1802, allocations: 0.8224 MB / 0.5167 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.288e-05/0.1803, allocations: 5.062 kB / 0.5168 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.1807, allocations: 40.88 kB / 0.5168 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.181, allocations: 58.02 kB / 0.5168 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.1812, allocations: 91.69 kB / 0.5169 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.1814, allocations: 95.7 kB / 0.517 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.1815, allocations: 8.219 kB / 0.517 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.913e-05/0.1816, allocations: 43.83 kB / 0.5171 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1817, allocations: 31.8 kB / 0.5171 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1818, allocations: 4 kB / 0.5171 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-05/0.1819, allocations: 39.92 kB / 0.5171 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.301e-05/0.1819, allocations: 23.91 kB / 0.5172 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.182, allocations: 35.8 kB / 0.5172 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1822, allocations: 115.5 kB / 0.5173 GB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1822, allocations: 0 / 0.5173 GB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1822, allocations: 0 / 0.5173 GB, free: 10.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1822, allocations: 4 kB / 0.5173 GB, free: 10.08 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.000569/0.1828, allocations: 414.7 kB / 0.5177 GB, free: 9.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1828, allocations: 15.84 kB / 0.5177 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.1829, allocations: 12.84 kB / 0.5177 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1831, allocations: 212.1 kB / 0.5179 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1831, allocations: 384 / 0.5179 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.1832, allocations: 8.125 kB / 0.518 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1833, allocations: 57.66 kB / 0.518 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1834, allocations: 4 kB / 0.518 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1834, allocations: 3.984 kB / 0.518 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1834, allocations: 0 / 0.518 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.1835, allocations: 23.98 kB / 0.518 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.1838, allocations: 288.8 kB / 0.5183 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.184, allocations: 58.69 kB / 0.5184 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.698e-05/0.184, allocations: 20.84 kB / 0.5184 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.184, allocations: 0 / 0.5184 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.1842, allocations: 75.22 kB / 0.5185 GB, free: 8.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1842, allocations: 0 / 0.5185 GB, free: 8.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005265/0.1847, allocations: 173.4 kB / 0.5186 GB, free: 8.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.1848, allocations: 67.34 kB / 0.5187 GB, free: 8.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1849, allocations: 180.6 kB / 0.5189 GB, free: 8.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1849, allocations: 33.7 kB / 0.5189 GB, free: 8.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.1849, allocations: 96.14 kB / 0.519 GB, free: 8.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.185, allocations: 31.72 kB / 0.519 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.185, allocations: 17.72 kB / 0.519 GB, free: 8.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.1851, allocations: 326.8 kB / 0.5193 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.1851, allocations: 23.98 kB / 0.5194 GB, free: 7.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.246e-05/0.1852, allocations: 37.7 kB / 0.5194 GB, free: 7.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.685e-05/0.1853, allocations: 69.62 kB / 0.5195 GB, free: 7.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1853, allocations: 0 / 0.5195 GB, free: 7.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.1854, allocations: 93.59 kB / 0.5196 GB, free: 7.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1854, allocations: 8 kB / 0.5196 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1855, allocations: 0 / 0.5196 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.1855, allocations: 0 / 0.5196 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.1856, allocations: 23.95 kB / 0.5196 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1856, allocations: 4.156 kB / 0.5196 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.1856, allocations: 7.938 kB / 0.5196 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1856, allocations: 4 kB / 0.5196 GB, free: 7.5 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.916e-05/0.1857, allocations: 121.8 kB / 0.5197 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1857, allocations: 7.953 kB / 0.5197 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.186, allocations: 122.3 kB / 0.5198 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.186, allocations: 0 / 0.5198 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.186, allocations: 4 kB / 0.5198 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.186, allocations: 3.938 kB / 0.5199 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.1863, allocations: 395.3 kB / 0.5202 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1863, allocations: 0 / 0.5202 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.1863, allocations: 8 kB / 0.5202 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1863, allocations: 0 / 0.5202 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1863, allocations: 7.922 kB / 0.5202 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1863, allocations: 4 kB / 0.5202 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1863, allocations: 4.031 kB / 0.5203 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1865, allocations: 200.3 kB / 0.5204 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.1865, allocations: 85.2 kB / 0.5205 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1865, allocations: 11.88 kB / 0.5205 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.1866, allocations: 8.297 kB / 0.5205 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.1867, allocations: 8 kB / 0.5206 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.1867, allocations: 11.94 kB / 0.5206 GB, free: 6.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.768e-05/0.1867, allocations: 144 kB / 0.5207 GB, free: 6.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1867, allocations: 4 kB / 0.5207 GB, free: 6.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.187, allocations: 23.94 kB / 0.5207 GB, free: 6.234 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.00162/0.1886, allocations: 461.9 kB / 0.5212 GB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1888, allocations: 59.91 kB / 0.5212 GB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1888, allocations: 4 kB / 0.5212 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/0.1889, allocations: 24.12 kB / 0.5213 GB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.1892, allocations: 35.97 kB / 0.5213 GB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.1896, allocations: 243 kB / 0.5215 GB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.1897, allocations: 0.7002 MB / 0.5222 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.53e-05/0.1898, allocations: 12.88 kB / 0.5222 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.1898, allocations: 15.44 kB / 0.5222 GB, free: 4.684 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1898, allocations: 0 / 0.5222 GB, free: 4.684 MB / 382.1 MB Notification: Performance of Templates: time 0.004578/0.1944, allocations: 1.714 MB / 0.5239 GB, free: 2.977 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.803074724972248]