Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.0009666/0.0009666, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009721/0.0009721, allocations: 170.6 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9446/0.9446, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2515/0.2515, allocations: 32.81 MB / 294.6 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.219e-05, allocations: 3.672 kB / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002637/0.002659, allocations: 1.706 MB / 325 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.003917, allocations: 1.005 MB / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.003977, allocations: 0 / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.004221, allocations: 43.83 kB / 326.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.004462, allocations: 107.3 kB / 326.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.004595, allocations: 79.66 kB / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.004718, allocations: 99.64 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.004755, allocations: 12.83 kB / 326.4 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.402e-05/0.004829, allocations: 51.84 kB / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.004891, allocations: 19.92 kB / 326.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.004902, allocations: 4 kB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.555e-05/0.004958, allocations: 35.97 kB / 326.5 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.005005, allocations: 27.86 kB / 326.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.005032, allocations: 15.94 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.005173, allocations: 111.5 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.005175, allocations: 0 / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005176, allocations: 0 / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.756e-06/0.005178, allocations: 0 / 326.6 MB, free: 6.332 MB / 298.7 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.0003226/0.005501, allocations: 341.3 kB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.005529, allocations: 8.031 kB / 327 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.005556, allocations: 8.938 kB / 327 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.005693, allocations: 158.4 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.005706, allocations: 4.359 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.005715, allocations: 4.375 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.657e-05/0.005801, allocations: 65.7 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.005808, allocations: 3.938 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.005813, allocations: 0 / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.005817, allocations: 0 / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.982e-05/0.005837, allocations: 4 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.944e-05/0.005917, allocations: 82.67 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.342e-05/0.00599, allocations: 37.42 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.006008, allocations: 8.859 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.006016, allocations: 4 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.87e-05/0.006085, allocations: 62.16 kB / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.006086, allocations: 0 / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 9.299e-05/0.006179, allocations: 57.67 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.006204, allocations: 55.34 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.006316, allocations: 225 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.006328, allocations: 33.7 kB / 327.8 MB, free: 5.051 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.006354, allocations: 100 kB / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.006377, allocations: 11.91 kB / 327.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.0064, allocations: 21.7 kB / 327.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.006472, allocations: 330.8 kB / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.006484, allocations: 6.828 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.006503, allocations: 21.7 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.006538, allocations: 35.61 kB / 328.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.00654, allocations: 4 kB / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.49e-05/0.006594, allocations: 68.44 kB / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.006603, allocations: 4 kB / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006607, allocations: 0 / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.006618, allocations: 0 / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/0.006663, allocations: 11.94 kB / 328.4 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.006668, allocations: 7.984 kB / 328.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.006691, allocations: 0 / 328.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.006696, allocations: 4 kB / 328.4 MB, free: 4.395 MB / 298.7 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 5.751e-05/0.006753, allocations: 120.6 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.006763, allocations: 16.02 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-05/0.006835, allocations: 66.77 kB / 328.6 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.006836, allocations: 0 / 328.6 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.006839, allocations: 3.938 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006841, allocations: 0 / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.418e-05/0.006916, allocations: 89.84 kB / 328.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.006916, allocations: 0 / 328.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.00693, allocations: 8 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.006931, allocations: 0 / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.006936, allocations: 4 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006937, allocations: 4 kB / 328.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006937, allocations: 3.938 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.103e-05/0.006998, allocations: 90.83 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.007011, allocations: 15.91 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.007024, allocations: 4 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.685e-05/0.007041, allocations: 3.984 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.007061, allocations: 4 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.007069, allocations: 3.938 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.273e-05/0.007121, allocations: 84.7 kB / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007121, allocations: 0 / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001125/0.007234, allocations: 20 kB / 328.9 MB, free: 3.805 MB / 298.7 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 (6): * Single equations (assignments): 4 * 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.0009854/0.008219, allocations: 0.5029 MB / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.994e-05/0.008289, allocations: 32.77 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.008292, allocations: 4 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.008317, allocations: 16.84 kB / 329.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.008428, allocations: 31.17 kB / 329.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.008703, allocations: 239.8 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.241e-05/0.008735, allocations: 71.41 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.564e-05/0.008761, allocations: 16.47 kB / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.00882, allocations: 67.36 kB / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008821, allocations: 0 / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of Templates: time 0.002998/0.01182, allocations: 1.804 MB / 331.7 MB, free: 1.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.952625771984458]