Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.0009068/0.0009068, 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.00108/0.00108, allocations: 170.4 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.9521/0.9521, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1334/0.1334, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 325.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.717e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002096/0.002113, allocations: 1.676 MB / 327 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007098/0.002823, allocations: 0.5451 MB / 327.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.002873, allocations: 0 / 327.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.003056, allocations: 27.83 kB / 327.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.003258, allocations: 75.58 kB / 327.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.003473, allocations: 115.6 kB / 327.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.003603, allocations: 63.78 kB / 327.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.003693, allocations: 15.98 kB / 327.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.021e-05/0.003753, allocations: 27.91 kB / 327.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.00381, allocations: 19.92 kB / 327.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.003822, allocations: 7.938 kB / 327.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.186e-05/0.003884, allocations: 31.92 kB / 327.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.667e-05/0.003921, allocations: 11.94 kB / 327.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.003944, allocations: 19.97 kB / 327.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.004064, allocations: 67.75 kB / 328 MB, free: 14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004066, allocations: 3.938 kB / 328 MB, free: 14 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004066, allocations: 0 / 328 MB, free: 14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.00407, allocations: 0 / 328 MB, free: 14 MB / 314.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.000273/0.004343, allocations: 292.4 kB / 328.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.004373, allocations: 12.03 kB / 328.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.004402, allocations: 8.938 kB / 328.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.004521, allocations: 129.6 kB / 328.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-06/0.004528, allocations: 384 / 328.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.004546, allocations: 12.38 kB / 328.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.823e-05/0.004625, allocations: 46.95 kB / 328.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.004633, allocations: 4.172 kB / 328.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.004642, allocations: 8.125 kB / 328.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004647, allocations: 3.984 kB / 328.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.88e-05/0.004666, allocations: 4 kB / 328.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.004855, allocations: 179 kB / 328.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.004964, allocations: 25.41 kB / 328.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.004982, allocations: 12.94 kB / 328.7 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.004995, allocations: 0 / 328.7 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.005014, allocations: 38.56 kB / 328.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.005015, allocations: 0 / 328.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000233/0.005248, allocations: 89.47 kB / 328.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.005274, allocations: 55.41 kB / 328.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.714e-05/0.005361, allocations: 146.4 kB / 329.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.005369, allocations: 25.7 kB / 329.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.005397, allocations: 96.11 kB / 329.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.005414, allocations: 15.78 kB / 329.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.00544, allocations: 17.7 kB / 329.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.005517, allocations: 322.8 kB / 329.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.005528, allocations: 15.94 kB / 329.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.029e-05/0.005538, allocations: 7.984 kB / 329.5 MB, free: 12.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.618e-05/0.005564, allocations: 15.69 kB / 329.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.005565, allocations: 192 / 329.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.083e-05/0.005616, allocations: 57.61 kB / 329.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.005626, allocations: 4 kB / 329.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.005631, allocations: 0 / 329.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.005639, allocations: 0 / 329.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.09e-05/0.00568, allocations: 15.94 kB / 329.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-06/0.005682, allocations: 0 / 329.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.005698, allocations: 7.984 kB / 329.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.005704, allocations: 8 kB / 329.6 MB, free: 12.19 MB / 314.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 4.857e-05/0.005752, allocations: 108.7 kB / 329.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.00577, allocations: 7.938 kB / 329.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.898e-05/0.005849, allocations: 62.09 kB / 329.8 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.005852, allocations: 4 kB / 329.8 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.005853, allocations: 0 / 329.8 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.005855, allocations: 0 / 329.8 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.006028, allocations: 214.7 kB / 330 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.00603, allocations: 0 / 330 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.006066, allocations: 15.98 kB / 330.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.006069, allocations: 4 kB / 330.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.006074, allocations: 0 / 330.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.006075, allocations: 0 / 330.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.006076, allocations: 0 / 330.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.191e-05/0.006158, allocations: 151.7 kB / 330.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.006167, allocations: 7.953 kB / 330.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-06/0.006177, allocations: 4 kB / 330.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.001e-05/0.006207, allocations: 0 / 330.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.006226, allocations: 7.984 kB / 330.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.006228, allocations: 0 / 330.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.597e-05/0.006284, allocations: 46.66 kB / 330.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006284, allocations: 0 / 330.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001243/0.006409, allocations: 15.94 kB / 330.3 MB, free: 11.5 MB / 314.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.001052/0.007461, allocations: 0.4968 MB / 330.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.892e-05/0.00753, allocations: 28.72 kB / 330.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.007532, allocations: 0 / 330.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.007548, allocations: 16.86 kB / 330.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.007694, allocations: 25.67 kB / 330.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.007932, allocations: 178.5 kB / 331 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.295e-05/0.007965, allocations: 63.34 kB / 331.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.396e-05/0.007989, allocations: 4 kB / 331.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.008037, allocations: 63.36 kB / 331.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.008037, allocations: 0 / 331.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of Templates: time 0.002924/0.01096, allocations: 1.266 MB / 332.4 MB, free: 9.547 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.921162329148501]