Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.00103/0.00103, allocations: 80.8 kB / 21.5 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.00107/0.00107, allocations: 170.3 kB / 24.91 MB, free: 9.227 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.9943/0.9943, allocations: 177.1 MB / 205.3 MB, free: 5.184 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.2398/0.2398, allocations: 34.26 MB / 296.1 MB, free: 0.707 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.92e-07/8.92e-07, allocations: 0 / 325.4 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.135e-05, allocations: 3.078 kB / 325.4 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.001928/0.001939, allocations: 1.81 MB / 327.2 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.003013, allocations: 1.01 MB / 328.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.00305, allocations: 0 / 328.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.003193, allocations: 51.69 kB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.00335, allocations: 91.48 kB / 328.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001068/0.003457, allocations: 87.61 kB / 328.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.003558, allocations: 103.7 kB / 328.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.003599, allocations: 4 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.003661, allocations: 59.77 kB / 328.6 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.003716, allocations: 27.91 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.779e-06/0.003726, allocations: 4 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.833e-05/0.003784, allocations: 43.92 kB / 328.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.003815, allocations: 27.86 kB / 328.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.003839, allocations: 24.41 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.003951, allocations: 107.6 kB / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-06/0.003952, allocations: 0 / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.003953, allocations: 4 kB / 328.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.284e-06/0.003955, allocations: 0 / 328.8 MB, free: 4.148 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.0002416/0.004197, allocations: 333.4 kB / 329.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.104e-05/0.004218, allocations: 12.03 kB / 329.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.12e-05/0.004239, allocations: 12.92 kB / 329.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.004359, allocations: 146.4 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.004369, allocations: 4.375 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.004378, allocations: 4.375 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.449e-05/0.004443, allocations: 61.7 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.004449, allocations: 3.938 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.004455, allocations: 12 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.004459, allocations: 3.984 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.84e-05/0.004477, allocations: 4 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.004612, allocations: 169.9 kB / 329.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.51e-05/0.004687, allocations: 85.36 kB / 329.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.004743, allocations: 8.859 kB / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.004749, allocations: 7.938 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.581e-05/0.004815, allocations: 70.14 kB / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.004816, allocations: 4 kB / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001983/0.005014, allocations: 109.5 kB / 329.9 MB, free: 3.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.005035, allocations: 55.41 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.005136, allocations: 193.6 kB / 330.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.005146, allocations: 25.7 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.005177, allocations: 104 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.005197, allocations: 27.78 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.005225, allocations: 25.7 kB / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.005368, allocations: 326.8 kB / 330.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.005381, allocations: 14.75 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-05/0.005403, allocations: 25.72 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.00544, allocations: 44.44 kB / 330.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.005441, allocations: 0 / 330.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.398e-05/0.005505, allocations: 76.75 kB / 330.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.005513, allocations: 8 kB / 330.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.005515, allocations: 0 / 330.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.269e-06/0.005521, allocations: 0 / 330.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.1e-05/0.005572, allocations: 23.98 kB / 330.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-06/0.005573, allocations: 0 / 330.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.27e-05/0.005596, allocations: 8.031 kB / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.005601, allocations: 4 kB / 330.8 MB, free: 1.992 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 5.04e-05/0.005651, allocations: 120.6 kB / 330.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.005662, allocations: 11.92 kB / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.169e-05/0.005744, allocations: 75.14 kB / 331 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.005746, allocations: 3.984 kB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-07/0.005747, allocations: 0 / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.00575, allocations: 3.984 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.005929, allocations: 299.6 kB / 331.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.00593, allocations: 32 / 331.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.005952, allocations: 19.94 kB / 331.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.005954, allocations: 3.984 kB / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.005959, allocations: 0 / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.00596, allocations: 0 / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.005961, allocations: 4 kB / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.751e-05/0.006049, allocations: 215 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.00606, allocations: 15.89 kB / 331.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.006076, allocations: 7.984 kB / 331.6 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.006112, allocations: 0 / 331.6 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.006129, allocations: 7.984 kB / 331.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.006137, allocations: 8 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.242e-05/0.006179, allocations: 60.23 kB / 331.6 MB, free: 1.082 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006179, allocations: 0 / 331.6 MB, free: 1.082 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001359/0.006315, allocations: 27.94 kB / 331.7 MB, free: 1.055 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.001112/0.007427, allocations: 0.5753 MB / 332.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.857e-05/0.007496, allocations: 48.77 kB / 332.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.007498, allocations: 0 / 332.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.728e-05/0.007525, allocations: 24.8 kB / 332.3 MB, free: 0.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.007672, allocations: 31.91 kB / 332.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.008031, allocations: 242.5 kB / 332.6 MB, free: 420 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.313e-05/0.008074, allocations: 71.45 kB / 332.6 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.246e-05/0.008106, allocations: 21.27 kB / 332.7 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.008164, allocations: 67.36 kB / 332.7 MB, free: 236 kB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008165, allocations: 0 / 332.7 MB, free: 236 kB / 298.7 MB Notification: Performance of Templates: time 0.003031/0.0112, allocations: 2.013 MB / 334.7 MB, free: 14.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.9287104248069227]