Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.00155/0.00155, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001705/0.001705, allocations: 168.5 kB / 25.61 MB, free: 8.926 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.9397/0.9397, allocations: 177.2 MB / 206.1 MB, free: 4.504 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.146/0.146, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 377.4 MB, free: 25.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.649e-05, allocations: 6.25 kB / 377.4 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002298/0.002335, allocations: 1.747 MB / 379.1 MB, free: 23.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.00357, allocations: 0.993 MB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.885e-05/0.003659, allocations: 7.938 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.003951, allocations: 39.77 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.004242, allocations: 99.47 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.004442, allocations: 75.61 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.004589, allocations: 115.6 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.004678, allocations: 7.984 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.004781, allocations: 51.89 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.004872, allocations: 27.84 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.00489, allocations: 4 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.005003, allocations: 47.92 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.005049, allocations: 23.92 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.005081, allocations: 19.92 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.005237, allocations: 99.59 kB / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.005239, allocations: 3.938 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.00524, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005244, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.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.0003331/0.005577, allocations: 451.9 kB / 381.1 MB, free: 21.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.00561, allocations: 11.98 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.005645, allocations: 16.84 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.005764, allocations: 153.1 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.005781, allocations: 4.375 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.005797, allocations: 12.3 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.181e-05/0.005889, allocations: 58.94 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.005899, allocations: 3.938 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.005906, allocations: 0 / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005911, allocations: 0 / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.005935, allocations: 11.98 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.006148, allocations: 256.3 kB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/0.006232, allocations: 63.08 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.00625, allocations: 15.69 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.00626, allocations: 0 / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.265e-05/0.006333, allocations: 68.98 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.006334, allocations: 0 / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002877/0.006621, allocations: 133.8 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.006643, allocations: 59.39 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.00672, allocations: 221.8 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.006728, allocations: 29.7 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.006761, allocations: 154.8 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.006784, allocations: 31.7 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.006811, allocations: 27.38 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.006855, allocations: 0.5001 MB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.00687, allocations: 15.98 kB / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.449e-05/0.006895, allocations: 35.36 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.006934, allocations: 39.36 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.006935, allocations: 0 / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.894e-05/0.007024, allocations: 93.47 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.007044, allocations: 5.875 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.007048, allocations: 4.031 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.007058, allocations: 0 / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.007124, allocations: 19.98 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.007128, allocations: 3.938 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.007156, allocations: 0 / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.007162, allocations: 4 kB / 383.2 MB, free: 19.46 MB / 314.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 5.217e-05/0.007215, allocations: 168.5 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.00723, allocations: 19.84 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.007345, allocations: 99.22 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.007347, allocations: 0 / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.007349, allocations: 7.984 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007353, allocations: 0 / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.00756, allocations: 357.6 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.007562, allocations: 0 / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.007588, allocations: 12 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.007592, allocations: 3.984 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.007599, allocations: 4 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.0076, allocations: 0 / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.007602, allocations: 0 / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.007708, allocations: 259.4 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.007719, allocations: 11.98 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.007735, allocations: 4 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.081e-05/0.007776, allocations: 4 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.007806, allocations: 3.984 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.007819, allocations: 4 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.839e-05/0.007867, allocations: 171.1 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007867, allocations: 0 / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.008062, allocations: 31.81 kB / 384.3 MB, free: 18.25 MB / 314.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.001009/0.00907, allocations: 441 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.009175, allocations: 55.52 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009177, allocations: 0 / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.009207, allocations: 27.67 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.00943, allocations: 31.08 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.009693, allocations: 227.8 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.618e-05/0.009719, allocations: 67.2 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.496e-05/0.009754, allocations: 25.08 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.009811, allocations: 86.19 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009811, allocations: 0 / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of Templates: time 0.003614/0.01343, allocations: 2.061 MB / 387.3 MB, free: 15.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.3122170800343156]