Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001713/0.001713, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001765/0.001765, allocations: 165 kB / 24.56 MB, free: 16 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.101/1.101, allocations: 177.1 MB / 205 MB, free: 5.301 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.2891/0.2891, allocations: 32.8 MB / 294.3 MB, free: 1.25 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 376.1 MB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.825e-05, allocations: 8.781 kB / 376.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003327/0.003355, allocations: 1.762 MB / 377.9 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.005129, allocations: 1.009 MB / 378.9 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.005209, allocations: 0 / 378.9 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.005547, allocations: 43.69 kB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.005891, allocations: 103.5 kB / 379 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.006098, allocations: 83.59 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.006289, allocations: 99.7 kB / 379.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.006393, allocations: 11.98 kB / 379.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.006495, allocations: 59.77 kB / 379.3 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.041e-05/0.006576, allocations: 23.92 kB / 379.3 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.006596, allocations: 4 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.006699, allocations: 43.92 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.846e-05/0.006768, allocations: 23.91 kB / 379.4 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.006819, allocations: 23.86 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.007072, allocations: 95.66 kB / 379.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.007076, allocations: 0 / 379.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007077, allocations: 4 kB / 379.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.007083, allocations: 4 kB / 379.5 MB, free: 1.203 MB / 346.7 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.0004936/0.007576, allocations: 447.8 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.007617, allocations: 8.031 kB / 379.9 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.007665, allocations: 20.84 kB / 380 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.007846, allocations: 157.1 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.007868, allocations: 4.375 kB / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.007897, allocations: 384 / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.008042, allocations: 62.94 kB / 380.2 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.008055, allocations: 3.938 kB / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.008065, allocations: 4 kB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.008075, allocations: 3.938 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.723e-05/0.008112, allocations: 19.92 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.008435, allocations: 283.8 kB / 380.5 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.008545, allocations: 51.17 kB / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.008586, allocations: 23.61 kB / 380.6 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.008603, allocations: 0 / 380.6 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.00875, allocations: 68.98 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.008751, allocations: 0 / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004326/0.009184, allocations: 157.4 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.009219, allocations: 55.39 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.009373, allocations: 238.3 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.009388, allocations: 29.7 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.009446, allocations: 146.9 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.009473, allocations: 23.8 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.00951, allocations: 35.36 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.009623, allocations: 0.4923 MB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.009647, allocations: 12 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.009683, allocations: 35.36 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/0.00974, allocations: 59.23 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.009741, allocations: 0 / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001068/0.009848, allocations: 93.52 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.009862, allocations: 9.562 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.009866, allocations: 0 / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.009881, allocations: 0 / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.009966, allocations: 15.98 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.009972, allocations: 4 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.01, allocations: 4.375 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.01001, allocations: 8.031 kB / 382 MB, free: 14.45 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 (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 6.99e-05/0.01008, allocations: 164.5 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.01009, allocations: 11.95 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.01025, allocations: 111.2 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01025, allocations: 0 / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01025, allocations: 4 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.01026, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.01055, allocations: 396.9 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01055, allocations: 0 / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.01058, allocations: 19.91 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01058, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01059, allocations: 8 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.0106, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.0106, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.01074, allocations: 255.4 kB / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.01076, allocations: 15.89 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.01077, allocations: 4 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.203e-05/0.01082, allocations: 4 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.01086, allocations: 7.984 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.01087, allocations: 4 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.505e-05/0.01096, allocations: 172.1 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01096, allocations: 4 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001864/0.01114, allocations: 27.92 kB / 383.2 MB, free: 13.18 MB / 362.7 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.0009884/0.01213, allocations: 436.3 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.01229, allocations: 55.58 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01229, allocations: 0 / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/0.01234, allocations: 35.62 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.01258, allocations: 42.5 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.01293, allocations: 214.3 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.01297, allocations: 71.33 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.013, allocations: 12.97 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.01304, allocations: 24.48 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01304, allocations: 0 / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003516/0.01656, allocations: 1.858 MB / 385.9 MB, free: 10.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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: 3.583772987127304]