Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001331/0.001331, 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.001665/0.001665, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.275/0.275, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.008e-05, allocations: 4.547 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003527/0.003558, allocations: 1.675 MB / 325 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.005431, allocations: 1.293 MB / 326.3 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.005499, allocations: 0 / 326.3 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.005756, allocations: 27.73 kB / 326.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.006084, allocations: 75.61 kB / 326.4 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.006415, allocations: 123.5 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.006583, allocations: 67.83 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.006675, allocations: 11.92 kB / 326.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.006749, allocations: 35.92 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.006884, allocations: 27.89 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.006901, allocations: 4 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.007096, allocations: 95.81 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.00714, allocations: 15.92 kB / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.007168, allocations: 15.92 kB / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.00743, allocations: 131.6 kB / 326.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.007434, allocations: 0 / 326.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007435, allocations: 0 / 326.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.00744, allocations: 0 / 326.9 MB, free: 6.039 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000407/0.007847, allocations: 305.5 kB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.007891, allocations: 12.03 kB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.007926, allocations: 4.938 kB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.008099, allocations: 134.4 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.008107, allocations: 384 / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.008125, allocations: 384 / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.008265, allocations: 106.3 kB / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.008275, allocations: 192 / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.008285, allocations: 4.125 kB / 327.4 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.008293, allocations: 0 / 327.4 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.835e-05/0.008321, allocations: 4 kB / 327.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.00861, allocations: 167.7 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.008772, allocations: 41.39 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.008794, allocations: 12.86 kB / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.008812, allocations: 0 / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.00884, allocations: 30.56 kB / 327.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.008841, allocations: 4 kB / 327.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000329/0.00917, allocations: 89.83 kB / 327.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.009211, allocations: 77.11 kB / 327.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.009341, allocations: 144.3 kB / 328 MB, free: 4.781 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.009355, allocations: 25.7 kB / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.009398, allocations: 96.06 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.00942, allocations: 11.91 kB / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.00946, allocations: 29.62 kB / 328.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.009554, allocations: 318.8 kB / 328.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.009568, allocations: 0 / 328.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.8e-05/0.009606, allocations: 51.41 kB / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.009648, allocations: 19.67 kB / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.009649, allocations: 3.938 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.841e-05/0.009737, allocations: 57.81 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.009752, allocations: 6.344 kB / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.00976, allocations: 3.984 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.009775, allocations: 4 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-05/0.009835, allocations: 11.98 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.009838, allocations: 0 / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.009866, allocations: 0 / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.009872, allocations: 8.031 kB / 328.6 MB, free: 4.102 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 (5): * Single equations (assignments): 5 * 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.14e-05/0.009944, allocations: 116.6 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.009974, allocations: 11.92 kB / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.01009, allocations: 54.09 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01009, allocations: 4 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.0101, allocations: 0 / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.0101, allocations: 3.984 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.01038, allocations: 210.8 kB / 329 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01038, allocations: 7.875 kB / 329 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.01043, allocations: 8 kB / 329 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.01043, allocations: 8 kB / 329 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.01044, allocations: 0 / 329 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01044, allocations: 0 / 329 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01044, allocations: 0 / 329 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.01056, allocations: 143.5 kB / 329.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.01057, allocations: 15.89 kB / 329.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.01059, allocations: 256 / 329.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.197e-05/0.01065, allocations: 11.98 kB / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.01068, allocations: 0 / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.01068, allocations: 0 / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.846e-05/0.01073, allocations: 35.66 kB / 329.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01073, allocations: 7.938 kB / 329.2 MB, free: 3.414 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002879/0.01102, allocations: 43.8 kB / 329.3 MB, free: 3.371 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00144/0.01246, allocations: 0.6195 MB / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.662e-05/0.01255, allocations: 24.84 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.01255, allocations: 0 / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.846e-05/0.01257, allocations: 16.8 kB / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.01274, allocations: 27.86 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.01303, allocations: 166.5 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.01306, allocations: 63.34 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.639e-05/0.01311, allocations: 16.23 kB / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.01317, allocations: 67.34 kB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of SimCode: time 1.283e-06/0.01318, allocations: 0 / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of Templates: time 0.003722/0.0169, allocations: 2.004 MB / 332.3 MB, free: 0.6484 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.959571447223425]