Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001358/0.001358, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.001499/0.001499, allocations: 169.3 kB / 24.27 MB, free: 140 kB / 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 1.523/1.523, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3921/0.3921, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.629e-05/3.914e-05, allocations: 2.312 kB / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.005885/0.005924, allocations: 1.677 MB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006472/0.0124, allocations: 0.969 MB / 380 MB, free: 228 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.01252, allocations: 4 kB / 380 MB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.01292, allocations: 47.75 kB / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005253/0.01344, allocations: 107.5 kB / 380.2 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.01382, allocations: 71.73 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.01415, allocations: 111.6 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.607e-05/0.01422, allocations: 8.172 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.01443, allocations: 43.84 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.01456, allocations: 23.92 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.01459, allocations: 7.984 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.0147, allocations: 35.92 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.824e-05/0.01477, allocations: 27.86 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.01485, allocations: 19.92 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.01522, allocations: 119.6 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01522, allocations: 4 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01522, allocations: 0 / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.01523, allocations: 0 / 380.6 MB, free: 15.6 MB / 362.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.0008694/0.0161, allocations: 361.4 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.01615, allocations: 8.031 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.01626, allocations: 20.83 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.01677, allocations: 166.4 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.01679, allocations: 384 / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.01681, allocations: 4.375 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.01704, allocations: 50.22 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.01705, allocations: 7.938 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.01706, allocations: 0 / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.01707, allocations: 4 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.01718, allocations: 15.98 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.01749, allocations: 141.3 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.01774, allocations: 54.55 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.01783, allocations: 20.84 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.01785, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.01809, allocations: 71.33 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.274e-06/0.01809, allocations: 4 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004648/0.01856, allocations: 109.4 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.01863, allocations: 55.41 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.01915, allocations: 271 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.01918, allocations: 29.7 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.01931, allocations: 112.1 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.01935, allocations: 15.89 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.0194, allocations: 25.7 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.01961, allocations: 326.8 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.467e-05/0.01971, allocations: 19.98 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.01981, allocations: 29.7 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.02008, allocations: 45.91 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.02008, allocations: 4 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002951/0.02038, allocations: 89.58 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.0204, allocations: 4 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.02041, allocations: 7.938 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.02043, allocations: 0 / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.02055, allocations: 11.94 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.02057, allocations: 8.016 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.02065, allocations: 4 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.02066, allocations: 0 / 382.7 MB, free: 13.36 MB / 362.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 0.0001906/0.02085, allocations: 133.8 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.0209, allocations: 15.91 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.02129, allocations: 110.9 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.02129, allocations: 0 / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.0213, allocations: 0 / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.0213, allocations: 3.938 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.02155, allocations: 145.2 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.02155, allocations: 4 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.0216, allocations: 4 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.0216, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.02162, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.02163, allocations: 7.938 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02163, allocations: 0 / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.02196, allocations: 121.2 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.022, allocations: 19.88 kB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.02204, allocations: 4 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.02211, allocations: 7.938 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.02216, allocations: 7.984 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.02218, allocations: 4 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003254/0.0225, allocations: 208.5 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0225, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003988/0.0229, allocations: 19.98 kB / 383.5 MB, free: 12.49 MB / 362.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.00232/0.02522, allocations: 439.5 kB / 383.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.02541, allocations: 35.98 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02541, allocations: 0 / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.217e-05/0.02551, allocations: 32.11 kB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.02591, allocations: 35.19 kB / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008056/0.02671, allocations: 276.8 kB / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.02688, allocations: 101.8 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.784e-05/0.02696, allocations: 12.48 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.02702, allocations: 16.5 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02702, allocations: 4 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of Templates: time 0.007478/0.03449, allocations: 1.663 MB / 386.1 MB, free: 10.06 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.046071066986769]