Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.00172/0.00172, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001218/0.001218, allocations: 174.3 kB / 24.91 MB, free: 8.773 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 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.055 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.2533/0.2533, allocations: 34.26 MB / 296.1 MB, free: 0.6719 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.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.571e-05, allocations: 5.266 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.002349/0.002375, allocations: 1.701 MB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.003097, allocations: 0.5452 MB / 327.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.003149, allocations: 7.938 kB / 327.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.003388, allocations: 79.64 kB / 327.7 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004954/0.003883, allocations: 99.53 kB / 327.8 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.004114, allocations: 111.6 kB / 327.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.004259, allocations: 80.39 kB / 327.9 MB, free: 5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.004345, allocations: 23.97 kB / 328 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.004409, allocations: 39.91 kB / 328 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.049e-05/0.004499, allocations: 51.88 kB / 328.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.004513, allocations: 4 kB / 328.1 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.004586, allocations: 43.92 kB / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.00463, allocations: 23.91 kB / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.004655, allocations: 19.88 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.004798, allocations: 91.59 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.004804, allocations: 0 / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.004806, allocations: 0 / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.004809, allocations: 0 / 328.2 MB, free: 4.707 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002944/0.005104, allocations: 321.6 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.005135, allocations: 12.03 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.005159, allocations: 4.938 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.005285, allocations: 151.4 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-06/0.005291, allocations: 384 / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.005308, allocations: 8.312 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.239e-05/0.005391, allocations: 58.94 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005398, allocations: 192 / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.005405, allocations: 4.125 kB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.005409, allocations: 0 / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.103e-05/0.00543, allocations: 12 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.005639, allocations: 171.1 kB / 329 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.005688, allocations: 37.33 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.005703, allocations: 8.859 kB / 329 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.005718, allocations: 0 / 329 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.005739, allocations: 38.5 kB / 329 MB, free: 3.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.00574, allocations: 0 / 329 MB, free: 3.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004021/0.006142, allocations: 150.1 kB / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.006168, allocations: 55.41 kB / 329.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.006274, allocations: 177.5 kB / 329.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.006283, allocations: 29.64 kB / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.006314, allocations: 104 kB / 329.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.006337, allocations: 23.75 kB / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.006367, allocations: 25.7 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.593e-05/0.006443, allocations: 326.8 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.006456, allocations: 4 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.161e-05/0.006468, allocations: 4 kB / 329.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.006505, allocations: 39.86 kB / 330 MB, free: 2.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.006506, allocations: 4 kB / 330 MB, free: 2.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.283e-05/0.006569, allocations: 58.05 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.006579, allocations: 4 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.006583, allocations: 0 / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.006593, allocations: 0 / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.006653, allocations: 23.92 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.006656, allocations: 7.938 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.006674, allocations: 4 kB / 330.1 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.006686, allocations: 3.984 kB / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.195e-05/0.006738, allocations: 112.7 kB / 330.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.006757, allocations: 15.92 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.006859, allocations: 79.06 kB / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006861, allocations: 0 / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.006862, allocations: 0 / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006865, allocations: 0 / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.007097, allocations: 255.5 kB / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007098, allocations: 4 kB / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.007137, allocations: 15.98 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.007139, allocations: 0 / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.007143, allocations: 0 / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007146, allocations: 8.031 kB / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007147, allocations: 0 / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.252e-05/0.007229, allocations: 168.2 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.00724, allocations: 15.89 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.007249, allocations: 0 / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.197e-05/0.007281, allocations: 4 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.007305, allocations: 3.984 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.00731, allocations: 8 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.864e-05/0.007349, allocations: 48.14 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007349, allocations: 0 / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001331/0.007482, allocations: 20 kB / 330.8 MB, free: 1.898 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001183/0.008665, allocations: 0.577 MB / 331.4 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.025e-05/0.008745, allocations: 36.72 kB / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.008749, allocations: 4 kB / 331.4 MB, free: 1.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.494e-05/0.008774, allocations: 32.7 kB / 331.5 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.008936, allocations: 23.98 kB / 331.5 MB, free: 1.523 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.009231, allocations: 219.7 kB / 331.7 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.009271, allocations: 71.33 kB / 331.8 MB, free: 1.188 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.492e-05/0.009306, allocations: 13.09 kB / 331.8 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.009359, allocations: 67.36 kB / 331.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.00936, allocations: 0 / 331.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of Templates: time 0.003116/0.01248, allocations: 1.517 MB / 333.4 MB, free: 15.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.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.8366320692002773]