Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01234/0.01234, allocations: 1.781 MB / 22.36 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] 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.001124/0.001124, allocations: 81.7 kB / 26.19 MB, free: 6.066 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.0009087/0.0009087, allocations: 175.1 kB / 30.13 MB, free: 2.172 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.9241/0.9241, allocations: 177.2 MB / 211.1 MB, free: 3.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6137/0.6137, allocations: 102.5 MB / 370.7 MB, free: 188 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 471.2 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.983e-05, allocations: 8.844 kB / 471.2 MB, free: 18.85 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001176/0.001196, allocations: 1.054 MB / 472.3 MB, free: 18.2 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000331/0.001527, allocations: 201.8 kB / 472.5 MB, free: 18.08 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.001553, allocations: 0 / 472.5 MB, free: 18.08 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.102e-05/0.001624, allocations: 0 / 472.5 MB, free: 18.08 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 9.969e-06/0.001634, allocations: 3.938 kB / 472.5 MB, free: 18.08 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.00199, allocations: 80.86 kB / 472.5 MB, free: 18.05 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.169e-05/0.002032, allocations: 0.5312 kB / 472.5 MB, free: 18.05 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.002066, allocations: 6.281 kB / 472.6 MB, free: 18.05 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.235e-05/0.002099, allocations: 3.234 kB / 472.6 MB, free: 18.05 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.783e-05/0.002117, allocations: 6.656 kB / 472.6 MB, free: 18.05 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.002126, allocations: 0 / 472.6 MB, free: 18.05 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.002267, allocations: 93.77 kB / 472.7 MB, free: 18.02 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.002296, allocations: 7.922 kB / 472.7 MB, free: 18.02 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.179e-05/0.002308, allocations: 0 / 472.7 MB, free: 18.02 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.002414, allocations: 73.67 kB / 472.7 MB, free: 17.99 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-06/0.002416, allocations: 0 / 472.7 MB, free: 17.99 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002417, allocations: 1.5 kB / 472.7 MB, free: 17.99 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.00242, allocations: 0 / 472.7 MB, free: 17.99 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001978/0.002618, allocations: 345.1 kB / 473.1 MB, free: 17.63 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.002652, allocations: 10.28 kB / 473.1 MB, free: 17.63 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.754e-05/0.00267, allocations: 2.125 kB / 473.1 MB, free: 17.63 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.555e-05/0.002745, allocations: 115.4 kB / 473.2 MB, free: 17.49 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.002753, allocations: 5 kB / 473.2 MB, free: 17.49 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-06/0.002758, allocations: 384 / 473.2 MB, free: 17.49 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.715e-05/0.002805, allocations: 33.27 kB / 473.2 MB, free: 17.46 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-06/0.002811, allocations: 2.906 kB / 473.2 MB, free: 17.46 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-06/0.002816, allocations: 8.297 kB / 473.2 MB, free: 17.45 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.002833, allocations: 3.25 kB / 473.2 MB, free: 17.45 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.901e-06/0.002839, allocations: 3.938 kB / 473.3 MB, free: 17.45 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.195e-05/0.00292, allocations: 106.2 kB / 473.4 MB, free: 17.32 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.143e-05/0.002972, allocations: 35.69 kB / 473.4 MB, free: 17.29 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.913e-06/0.002979, allocations: 7.688 kB / 473.4 MB, free: 17.27 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-06/0.002982, allocations: 0.5625 kB / 473.4 MB, free: 17.27 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.002996, allocations: 38.98 kB / 473.4 MB, free: 17.23 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.002997, allocations: 0 / 473.4 MB, free: 17.23 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 9.265e-05/0.003089, allocations: 37.75 kB / 473.5 MB, free: 17.2 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.003108, allocations: 51.41 kB / 473.5 MB, free: 17.14 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.994e-05/0.003148, allocations: 157.4 kB / 473.7 MB, free: 16.97 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-06/0.003153, allocations: 25.7 kB / 473.7 MB, free: 16.94 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.484e-05/0.003168, allocations: 133.7 kB / 473.8 MB, free: 16.81 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.003191, allocations: 12.39 kB / 473.8 MB, free: 16.8 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.00321, allocations: 21.5 kB / 473.9 MB, free: 16.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003113/0.003521, allocations: 499.2 kB / 474.4 MB, free: 32.28 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-06/0.003527, allocations: 3.375 kB / 474.4 MB, free: 32.28 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-06/0.003534, allocations: 3.125 kB / 474.4 MB, free: 32.28 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.916e-05/0.003553, allocations: 16.56 kB / 474.4 MB, free: 32.26 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.003554, allocations: 0 / 474.4 MB, free: 32.26 MB / 426.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.577e-05/0.00359, allocations: 41.22 kB / 474.4 MB, free: 32.23 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.0036, allocations: 5.781 kB / 474.4 MB, free: 32.23 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.003605, allocations: 0.6562 kB / 474.4 MB, free: 32.23 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/0.003611, allocations: 0 / 474.4 MB, free: 32.23 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.003611, allocations: 0.8438 kB / 474.4 MB, free: 32.23 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.003613, allocations: 7.656 kB / 474.4 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.053e-06/0.00362, allocations: 0.9375 kB / 474.4 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.003626, allocations: 3.938 kB / 474.4 MB, free: 32.22 MB / 426.8 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.931e-05/0.003686, allocations: 153.3 kB / 474.6 MB, free: 32.06 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-06/0.00369, allocations: 3.719 kB / 474.6 MB, free: 32.06 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.449e-05/0.003704, allocations: 8.016 kB / 474.6 MB, free: 32.05 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.003709, allocations: 0 / 474.6 MB, free: 32.05 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.003711, allocations: 0 / 474.6 MB, free: 32.05 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.003714, allocations: 4.469 kB / 474.6 MB, free: 32.05 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.058e-05/0.003764, allocations: 101 kB / 474.7 MB, free: 31.93 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.003765, allocations: 4.812 kB / 474.7 MB, free: 31.93 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-07/0.003765, allocations: 0 / 474.7 MB, free: 31.93 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.003766, allocations: 0.75 kB / 474.7 MB, free: 31.93 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.003771, allocations: 7.375 kB / 474.7 MB, free: 31.92 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.003772, allocations: 3.438 kB / 474.7 MB, free: 31.92 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.003772, allocations: 0 / 474.7 MB, free: 31.92 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.079e-05/0.003813, allocations: 80.45 kB / 474.8 MB, free: 31.84 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.003819, allocations: 9.328 kB / 474.8 MB, free: 31.83 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-06/0.003824, allocations: 0 / 474.8 MB, free: 31.83 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-06/0.003827, allocations: 0 / 474.8 MB, free: 31.83 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.003837, allocations: 3 kB / 474.8 MB, free: 31.83 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.003838, allocations: 2.781 kB / 474.8 MB, free: 31.83 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.293e-05/0.003871, allocations: 119.2 kB / 474.9 MB, free: 31.71 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003871, allocations: 2.75 kB / 474.9 MB, free: 31.71 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001343/0.004006, allocations: 22.73 kB / 475 MB, free: 31.71 MB / 426.8 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001045/0.00411, allocations: 109.8 kB / 475.1 MB, free: 31.62 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 5.068e-05/0.004161, allocations: 22.17 kB / 475.1 MB, free: 31.6 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.004162, allocations: 0 / 475.1 MB, free: 31.6 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 6.522e-06/0.004169, allocations: 14.56 kB / 475.1 MB, free: 31.59 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.161e-05/0.00426, allocations: 3.938 kB / 475.1 MB, free: 31.59 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001207/0.004381, allocations: 95.56 kB / 475.2 MB, free: 31.48 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.797e-05/0.004399, allocations: 56.03 kB / 475.2 MB, free: 31.41 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.048e-05/0.004409, allocations: 3.125 kB / 475.2 MB, free: 31.41 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.004439, allocations: 69.92 kB / 475.3 MB, free: 31.34 MB / 426.8 MB Notification: Performance of SimCode: time 6.71e-07/0.004439, allocations: 1.25 kB / 475.3 MB, free: 31.34 MB / 426.8 MB Notification: Performance of Templates: time 0.002025/0.006464, allocations: 0.7264 MB / 476 MB, free: 31.3 MB / 426.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & ./ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestGenerateGrid.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable _derdummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable _dummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable _dummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 3.550181101076305]