Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.001681/0.001681, allocations: 109.7 kB / 18.33 MB, free: 4.078 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.001632/0.001632, allocations: 185.9 kB / 21.5 MB, free: 0.9219 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.738/1.738, allocations: 207.6 MB / 232.1 MB, free: 11.11 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.2854/0.2854, allocations: 44.24 MB / 328.4 MB, free: 10.06 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.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") [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.002175/0.002175, allocations: 76.44 kB / 465.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1789, allocations: 61 MB / 0.5143 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00354/0.1825, allocations: 1.663 MB / 0.5159 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1841, allocations: 0.8167 MB / 0.5167 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.112e-05/0.1841, allocations: 0 / 0.5167 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.1846, allocations: 91.67 kB / 0.5168 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.1849, allocations: 67.73 kB / 0.5169 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.1851, allocations: 91.75 kB / 0.5169 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.1853, allocations: 99.69 kB / 0.517 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.711e-05/0.1854, allocations: 7.984 kB / 0.517 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1855, allocations: 51.77 kB / 0.5171 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.1856, allocations: 59.75 kB / 0.5171 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1857, allocations: 4 kB / 0.5172 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.05e-05/0.1858, allocations: 31.98 kB / 0.5172 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.1858, allocations: 19.92 kB / 0.5172 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.638e-05/0.1859, allocations: 31.75 kB / 0.5172 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.1861, allocations: 107.5 kB / 0.5173 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1861, allocations: 0 / 0.5173 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1861, allocations: 4 kB / 0.5173 GB, free: 4.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1862, allocations: 3.938 kB / 0.5173 GB, free: 4.531 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000729/0.1869, allocations: 422.3 kB / 0.5177 GB, free: 4.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1869, allocations: 15.84 kB / 0.5178 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.187, allocations: 8.891 kB / 0.5178 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.1874, allocations: 208.6 kB / 0.518 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1874, allocations: 4.359 kB / 0.518 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.1874, allocations: 8.125 kB / 0.518 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1876, allocations: 49.69 kB / 0.518 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1876, allocations: 0 / 0.518 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1876, allocations: 3.984 kB / 0.518 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.1876, allocations: 4 kB / 0.518 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.372e-05/0.1877, allocations: 15.94 kB / 0.518 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.1879, allocations: 185.6 kB / 0.5182 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1881, allocations: 54.56 kB / 0.5183 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/0.1881, allocations: 24.78 kB / 0.5183 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1882, allocations: 0 / 0.5183 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.1883, allocations: 67.33 kB / 0.5184 GB, free: 3.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1883, allocations: 0 / 0.5184 GB, free: 3.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003244/0.1887, allocations: 97.58 kB / 0.5185 GB, free: 3.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.1887, allocations: 55.41 kB / 0.5185 GB, free: 3.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.189, allocations: 215.1 kB / 0.5187 GB, free: 2.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.189, allocations: 29.7 kB / 0.5187 GB, free: 2.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.1891, allocations: 100.1 kB / 0.5188 GB, free: 2.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.1891, allocations: 15.89 kB / 0.5189 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.1892, allocations: 17.72 kB / 0.5189 GB, free: 2.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1893, allocations: 326.8 kB / 0.5192 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.1894, allocations: 12.25 kB / 0.5192 GB, free: 2.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.1894, allocations: 33.64 kB / 0.5192 GB, free: 2.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1895, allocations: 49.7 kB / 0.5193 GB, free: 2.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1895, allocations: 0 / 0.5193 GB, free: 2.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001794/0.1897, allocations: 81.52 kB / 0.5194 GB, free: 2.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1897, allocations: 4 kB / 0.5194 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1897, allocations: 4 kB / 0.5194 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1898, allocations: 0 / 0.5194 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.159e-05/0.1898, allocations: 16.02 kB / 0.5194 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1899, allocations: 0 / 0.5194 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.1899, allocations: 7.953 kB / 0.5194 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1899, allocations: 0 / 0.5194 GB, free: 2.207 MB / 398.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 (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.0001233/0.19, allocations: 137.7 kB / 0.5195 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.19, allocations: 7.953 kB / 0.5195 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.1903, allocations: 94.61 kB / 0.5196 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1903, allocations: 0 / 0.5196 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1903, allocations: 4 kB / 0.5196 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1903, allocations: 3.984 kB / 0.5196 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.1905, allocations: 189.6 kB / 0.5198 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1905, allocations: 0 / 0.5198 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.1905, allocations: 4 kB / 0.5198 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1905, allocations: 0 / 0.5198 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1905, allocations: 3.938 kB / 0.5198 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1905, allocations: 4 kB / 0.5198 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1905, allocations: 4.109 kB / 0.5198 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.1907, allocations: 124.9 kB / 0.5199 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.1908, allocations: 89.05 kB / 0.52 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1908, allocations: 0 / 0.52 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.1909, allocations: 0 / 0.52 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.1909, allocations: 11.94 kB / 0.52 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1909, allocations: 7.984 kB / 0.52 GB, free: 1.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1911, allocations: 155.2 kB / 0.5202 GB, free: 1.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1911, allocations: 0 / 0.5202 GB, free: 1.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.1913, allocations: 12 kB / 0.5202 GB, free: 1.266 MB / 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: 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 (5): * Single equations (assignments): 3 * 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.001509/0.1928, allocations: 418 kB / 0.5206 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.193, allocations: 39.92 kB / 0.5206 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.193, allocations: 0 / 0.5206 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.051e-05/0.193, allocations: 15.98 kB / 0.5207 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1933, allocations: 35.72 kB / 0.5207 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.1938, allocations: 229.9 kB / 0.5209 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.1943, allocations: 0.7079 MB / 0.5216 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.382e-05/0.1944, allocations: 16.53 kB / 0.5216 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.1944, allocations: 15.44 kB / 0.5216 GB, free: 15.79 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1944, allocations: 0 / 0.5216 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Templates: time 0.005154/0.1996, allocations: 1.494 MB / 0.5231 GB, free: 14.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.592664651572704]