Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.001821/0.001821, allocations: 69.34 kB / 19.93 MB, free: 1.766 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.002228/0.002228, allocations: 167.5 kB / 23.22 MB, free: 4.863 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.577/1.577, allocations: 158.6 MB / 185 MB, free: 6.379 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.3437/0.3437, allocations: 32.38 MB / 269.6 MB, free: 4.645 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.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.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 407.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.705e-05, allocations: 2.281 kB / 407.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003205/0.003232, allocations: 1.686 MB / 409.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.004793, allocations: 0.7801 MB / 409.9 MB, free: 440 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.004875, allocations: 0 / 409.9 MB, free: 440 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.005217, allocations: 43.83 kB / 409.9 MB, free: 396 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.005473, allocations: 63.62 kB / 410 MB, free: 332 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.005757, allocations: 83.64 kB / 410.1 MB, free: 248 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.005976, allocations: 99.69 kB / 410.2 MB, free: 148 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.329e-05/0.006069, allocations: 8.172 kB / 410.2 MB, free: 140 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.006183, allocations: 51.83 kB / 410.2 MB, free: 88 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.006264, allocations: 27.91 kB / 410.3 MB, free: 60 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.006288, allocations: 4 kB / 410.3 MB, free: 56 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.00639, allocations: 43.92 kB / 410.3 MB, free: 12 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.98e-05/0.00647, allocations: 23.91 kB / 410.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.006515, allocations: 19.88 kB / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.00674, allocations: 115.6 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.006743, allocations: 0 / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006743, allocations: 0 / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.006752, allocations: 0 / 410.5 MB, free: 15.86 MB / 350.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.00059/0.007342, allocations: 345.5 kB / 410.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.007381, allocations: 12.03 kB / 410.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.00743, allocations: 16.78 kB / 410.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.007728, allocations: 150.3 kB / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.007742, allocations: 4.375 kB / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.007771, allocations: 4.375 kB / 411 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.007947, allocations: 54.23 kB / 411 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.007964, allocations: 3.938 kB / 411.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.007977, allocations: 3.984 kB / 411.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.007981, allocations: 0 / 411.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.72e-05/0.008058, allocations: 19.98 kB / 411.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.008436, allocations: 240.4 kB / 411.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.008622, allocations: 54.69 kB / 411.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.319e-05/0.008685, allocations: 24.78 kB / 411.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.008705, allocations: 4 kB / 411.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.008866, allocations: 71.33 kB / 411.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.008868, allocations: 0 / 411.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006128/0.00948, allocations: 177.4 kB / 411.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.009548, allocations: 59.33 kB / 411.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.009794, allocations: 204 kB / 411.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.00982, allocations: 33.7 kB / 411.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.009893, allocations: 108.1 kB / 412 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.009926, allocations: 23.8 kB / 412.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.009975, allocations: 21.72 kB / 412.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.01015, allocations: 326.8 kB / 412.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.403e-05/0.01023, allocations: 19.98 kB / 412.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.483e-05/0.0103, allocations: 37.64 kB / 412.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.01043, allocations: 69.58 kB / 412.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01043, allocations: 0 / 412.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002296/0.01066, allocations: 109.6 kB / 412.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01068, allocations: 4 kB / 412.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01068, allocations: 0 / 412.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.0107, allocations: 4 kB / 412.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.0108, allocations: 19.92 kB / 412.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.0108, allocations: 0 / 412.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.01085, allocations: 4 kB / 412.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.01086, allocations: 0 / 412.7 MB, free: 13.49 MB / 350.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 0.0001369/0.01099, allocations: 141.2 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.01102, allocations: 11.91 kB / 412.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.01131, allocations: 131.2 kB / 412.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01131, allocations: 0 / 412.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01131, allocations: 0 / 412.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01132, allocations: 0 / 412.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.01184, allocations: 354.9 kB / 413.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.01184, allocations: 0 / 413.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.01188, allocations: 8 kB / 413.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01189, allocations: 0 / 413.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.0119, allocations: 8 kB / 413.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.0119, allocations: 384 / 413.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.01191, allocations: 4.031 kB / 413.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.0122, allocations: 216.2 kB / 413.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.01222, allocations: 11.91 kB / 413.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.01225, allocations: 4 kB / 413.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.01232, allocations: 8 kB / 413.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.01236, allocations: 15.91 kB / 413.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.01238, allocations: 4.375 kB / 413.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.01252, allocations: 155.9 kB / 413.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01252, allocations: 0 / 413.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.01279, allocations: 27.92 kB / 413.7 MB, free: 12.34 MB / 350.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 (9): * Single equations (assignments): 7 * 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.001921/0.01471, allocations: 490.8 kB / 414.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.01492, allocations: 63.89 kB / 414.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01492, allocations: 4.062 kB / 414.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.015, allocations: 31.92 kB / 414.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.01536, allocations: 23.98 kB / 414.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.01591, allocations: 238 kB / 414.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.01603, allocations: 92.3 kB / 414.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.169e-05/0.01609, allocations: 24.7 kB / 414.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.01613, allocations: 16.5 kB / 414.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01613, allocations: 0 / 414.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Templates: time 0.00575/0.02188, allocations: 1.829 MB / 416.5 MB, free: 9.602 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.389953870326281]