Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.0009122/0.0009122, allocations: 80.8 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.0009671/0.0009671, allocations: 170.3 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.9631/0.9631, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] 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.2454/0.2454, allocations: 34.26 MB / 296.1 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 325.4 MB, free: 7.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113e-05/1.258e-05, allocations: 3.156 kB / 325.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.001991/0.002004, allocations: 1.809 MB / 327.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003126, allocations: 1.01 MB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.003184, allocations: 4 kB / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.003421, allocations: 43.69 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.003617, allocations: 99.48 kB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.003738, allocations: 83.59 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.003861, allocations: 103.7 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.178e-05/0.003923, allocations: 11.98 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.194e-05/0.003995, allocations: 55.78 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.004061, allocations: 27.91 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.004074, allocations: 4 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.678e-05/0.00414, allocations: 43.92 kB / 328.7 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.00418, allocations: 27.86 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.004212, allocations: 24.41 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.004354, allocations: 107.6 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004356, allocations: 0 / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004357, allocations: 0 / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.00436, allocations: 0 / 328.8 MB, free: 4.121 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000313/0.004673, allocations: 337.4 kB / 329.2 MB, free: 3.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.557e-05/0.004699, allocations: 8.031 kB / 329.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.004726, allocations: 12.92 kB / 329.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.004857, allocations: 150.4 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.00487, allocations: 384 / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.004886, allocations: 8.375 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.456e-05/0.00497, allocations: 65.75 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.004979, allocations: 3.938 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.004989, allocations: 0 / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.004996, allocations: 4 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.147e-05/0.005017, allocations: 7.938 kB / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.005195, allocations: 174 kB / 329.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.554e-05/0.00527, allocations: 81.3 kB / 329.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.005289, allocations: 12.86 kB / 329.7 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.005299, allocations: 4 kB / 329.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.657e-05/0.005375, allocations: 74.06 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.005376, allocations: 0 / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002452/0.005622, allocations: 113.5 kB / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.005649, allocations: 55.41 kB / 329.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.005756, allocations: 193.6 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.00577, allocations: 33.64 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.005801, allocations: 104 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.005823, allocations: 19.8 kB / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.00585, allocations: 25.7 kB / 330.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.005922, allocations: 330.8 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.005936, allocations: 10.83 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.738e-05/0.005963, allocations: 21.7 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.006006, allocations: 48.45 kB / 330.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.006007, allocations: 0 / 330.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.928e-05/0.006076, allocations: 68.81 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.006086, allocations: 8 kB / 330.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.00609, allocations: 0 / 330.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.0061, allocations: 4.031 kB / 330.8 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.006157, allocations: 23.92 kB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.006161, allocations: 4 kB / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.006187, allocations: 4 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.006192, allocations: 4 kB / 330.8 MB, free: 1.965 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 (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.191e-05/0.006254, allocations: 112.7 kB / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.00627, allocations: 23.91 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.155e-05/0.006361, allocations: 75.06 kB / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006363, allocations: 4 kB / 331 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.006364, allocations: 0 / 331 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.006368, allocations: 4 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.006577, allocations: 299.6 kB / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006578, allocations: 0 / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.0066, allocations: 11.98 kB / 331.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.006602, allocations: 4 kB / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.006608, allocations: 0 / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.006609, allocations: 0 / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00661, allocations: 0 / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.006742, allocations: 223 kB / 331.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.006756, allocations: 15.89 kB / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.006769, allocations: 4.031 kB / 331.6 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.867e-05/0.006808, allocations: 4 kB / 331.6 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.006833, allocations: 11.98 kB / 331.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.006843, allocations: 0 / 331.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.0069, allocations: 68.11 kB / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0069, allocations: 0 / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.007043, allocations: 31.92 kB / 331.7 MB, free: 1.02 MB / 298.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.001203/0.008246, allocations: 0.5672 MB / 332.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.271e-05/0.008318, allocations: 40.77 kB / 332.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.008321, allocations: 4 kB / 332.3 MB, free: 0.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.717e-05/0.008348, allocations: 20.84 kB / 332.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.008513, allocations: 35.8 kB / 332.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.008792, allocations: 254.4 kB / 332.6 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.354e-05/0.008825, allocations: 63.34 kB / 332.6 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.405e-05/0.008869, allocations: 25.25 kB / 332.7 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.008995, allocations: 71.36 kB / 332.7 MB, free: 200 kB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008996, allocations: 0 / 332.7 MB, free: 200 kB / 298.7 MB Notification: Performance of Templates: time 0.003388/0.01238, allocations: 2.016 MB / 334.8 MB, free: 14.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.8334902431815863]