Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001379/0.001379, 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.001069/0.001069, allocations: 172.7 kB / 24.91 MB, free: 9.195 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.9518/0.9518, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2522/0.2522, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.699e-05, allocations: 7.016 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002667/0.002694, allocations: 1.72 MB / 325 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.003512, allocations: 0.5646 MB / 325.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.003571, allocations: 0 / 325.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.003843, allocations: 99.67 kB / 325.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.004115, allocations: 107.5 kB / 325.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.004426, allocations: 119.6 kB / 325.9 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.004608, allocations: 103.7 kB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.004715, allocations: 23.92 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.004793, allocations: 55.88 kB / 326.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.004896, allocations: 55.86 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.004912, allocations: 4 kB / 326.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.024e-05/0.005002, allocations: 47.92 kB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.005049, allocations: 31.84 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.005075, allocations: 19.94 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.005251, allocations: 123.4 kB / 326.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.005254, allocations: 0 / 326.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005255, allocations: 0 / 326.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.005262, allocations: 0 / 326.4 MB, free: 6.57 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003481/0.00561, allocations: 330 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.005645, allocations: 12.03 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.005676, allocations: 4.938 kB / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.005822, allocations: 157.5 kB / 326.9 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.005832, allocations: 4.375 kB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.005852, allocations: 8.375 kB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.005955, allocations: 74.88 kB / 326.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.005964, allocations: 192 / 326.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.005973, allocations: 4.125 kB / 326.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.005978, allocations: 7.938 kB / 327 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.124e-05/0.006009, allocations: 19.98 kB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.006293, allocations: 202.9 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.096e-05/0.006354, allocations: 46.55 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.006376, allocations: 16.78 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.006399, allocations: 0 / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.006423, allocations: 34.56 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.006424, allocations: 4 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005079/0.006932, allocations: 197.6 kB / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.00696, allocations: 55.41 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.007079, allocations: 189.1 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.007094, allocations: 25.7 kB / 327.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.007132, allocations: 108 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.007166, allocations: 43.62 kB / 327.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.0072, allocations: 25.7 kB / 327.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.058e-05/0.00728, allocations: 338.7 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.007301, allocations: 12 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.007318, allocations: 9.375 kB / 328.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/0.007369, allocations: 43.59 kB / 328.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.00737, allocations: 0 / 328.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.928e-05/0.007459, allocations: 83.03 kB / 328.4 MB, free: 4.395 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.007472, allocations: 4 kB / 328.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.007478, allocations: 0 / 328.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.007488, allocations: 0 / 328.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.007569, allocations: 27.98 kB / 328.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.007573, allocations: 4 kB / 328.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.007592, allocations: 4 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.007598, allocations: 0 / 328.4 MB, free: 4.355 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 (13): * Single equations (assignments): 13 * 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.972e-05/0.007668, allocations: 132.5 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.007693, allocations: 12 kB / 328.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.007841, allocations: 99.05 kB / 328.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007843, allocations: 4 kB / 328.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.007845, allocations: 0 / 328.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.00785, allocations: 3.984 kB / 328.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.008158, allocations: 300 kB / 329 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.008161, allocations: 0 / 329 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.008216, allocations: 23.98 kB / 329 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.008219, allocations: 0 / 329 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.008228, allocations: 4 kB / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.008231, allocations: 4 kB / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.008234, allocations: 3.938 kB / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.008359, allocations: 180.2 kB / 329.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.008373, allocations: 15.89 kB / 329.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.008385, allocations: 0 / 329.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.008419, allocations: 8.031 kB / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.008454, allocations: 19.91 kB / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.008459, allocations: 3.984 kB / 329.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.179e-05/0.008511, allocations: 65.55 kB / 329.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008511, allocations: 0 / 329.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.008666, allocations: 24 kB / 329.3 MB, free: 3.406 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 (13): * Single equations (assignments): 13 * 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.00128/0.009945, allocations: 0.5806 MB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.01006, allocations: 48.77 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.01006, allocations: 0 / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.274e-05/0.01009, allocations: 36.78 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.01026, allocations: 22.66 kB / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.01062, allocations: 282.4 kB / 330.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.515e-05/0.01067, allocations: 75.33 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.01071, allocations: 16.47 kB / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.01077, allocations: 63.38 kB / 330.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01077, allocations: 0 / 330.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of Templates: time 0.00341/0.01418, allocations: 1.76 MB / 332.2 MB, free: 0.793 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.9561508619226515]