Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001539/0.001539, 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.001833/0.001833, allocations: 161 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 0.994/0.994, allocations: 177.1 MB / 205 MB, free: 5.629 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.2846/0.2846, allocations: 32.81 MB / 294.3 MB, free: 1.27 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.782e-05, allocations: 2.312 kB / 376.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002568/0.002596, allocations: 1.766 MB / 377.9 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.003857, allocations: 1.001 MB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.894e-05/0.003936, allocations: 3.938 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.004249, allocations: 43.75 kB / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.004551, allocations: 103.4 kB / 379 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.004725, allocations: 75.67 kB / 379.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.004895, allocations: 111.6 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.004992, allocations: 4 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.843e-05/0.00508, allocations: 59.81 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.005153, allocations: 23.92 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.005171, allocations: 4 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.542e-05/0.005256, allocations: 47.91 kB / 379.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.00531, allocations: 15.92 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.00535, allocations: 31.8 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.005541, allocations: 95.66 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.005544, allocations: 0 / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005545, allocations: 0 / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.005551, allocations: 4 kB / 379.5 MB, free: 1.152 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.0005961/0.006147, allocations: 451.9 kB / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.006185, allocations: 8.031 kB / 379.9 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.00624, allocations: 16.84 kB / 380 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.006434, allocations: 157 kB / 380.1 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.006453, allocations: 384 / 380.1 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.006479, allocations: 4.375 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.006622, allocations: 62.94 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.006633, allocations: 7.875 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.006646, allocations: 4 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.006654, allocations: 4 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.732e-05/0.006691, allocations: 11.98 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.007017, allocations: 283.8 kB / 380.5 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.007139, allocations: 55.11 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.007173, allocations: 27.59 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.00719, allocations: 4 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.007291, allocations: 65.05 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.007293, allocations: 0 / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004289/0.007722, allocations: 157.4 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.007754, allocations: 51.41 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.007903, allocations: 238.3 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.00792, allocations: 29.7 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.007985, allocations: 154.8 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.008014, allocations: 23.8 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.008053, allocations: 31.36 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.008188, allocations: 0.4962 MB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.008214, allocations: 8 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.77e-05/0.008251, allocations: 35.36 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.202e-05/0.008313, allocations: 55.3 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.008315, allocations: 0 / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001148/0.00843, allocations: 93.53 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.008443, allocations: 4 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.00845, allocations: 4.375 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.008467, allocations: 0 / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.008548, allocations: 19.92 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.008554, allocations: 4 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.008585, allocations: 4 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.008591, allocations: 8.031 kB / 382 MB, free: 14.39 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 7.971e-05/0.008671, allocations: 160.5 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.008689, allocations: 11.95 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.00885, allocations: 111.2 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.008853, allocations: 0 / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.008856, allocations: 0 / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.00886, allocations: 0 / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.009162, allocations: 404.9 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.009166, allocations: 3.984 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.009194, allocations: 12.03 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.009197, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.009206, allocations: 4 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.009208, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009209, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.009357, allocations: 255.4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.009371, allocations: 11.91 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.009391, allocations: 7.984 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-05/0.009438, allocations: 4 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.009476, allocations: 11.92 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.009489, allocations: 4 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.598e-05/0.009565, allocations: 176.1 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009566, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.009741, allocations: 31.92 kB / 383.2 MB, free: 13.12 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.0009943/0.01074, allocations: 436.9 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.01086, allocations: 51.61 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01086, allocations: 0 / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.0109, allocations: 27.67 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.01114, allocations: 42.91 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.01152, allocations: 221.9 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.367e-05/0.01156, allocations: 67.33 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.535e-05/0.0116, allocations: 17.28 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.01163, allocations: 16.48 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01163, allocations: 4 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of Templates: time 0.003826/0.01546, allocations: 1.86 MB / 385.9 MB, free: 10.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.3800163683481514]