Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01221/0.01221, allocations: 1.791 MB / 21.89 MB, free: 2.633 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.001109/0.001109, allocations: 84.56 kB / 25.62 MB, free: 6.934 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.001029/0.001029, allocations: 172.8 kB / 29.46 MB, free: 3.152 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.9872/0.9872, allocations: 177.2 MB / 210.3 MB, free: 3.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6165/0.6165, allocations: 102.4 MB / 369.8 MB, free: 364 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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_dev_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_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 469.8 MB, free: 19.08 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.243e-05, allocations: 4.938 kB / 469.8 MB, free: 19.07 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001957/0.00199, allocations: 1.051 MB / 470.9 MB, free: 18.43 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004687/0.002458, allocations: 204.7 kB / 471.1 MB, free: 18.3 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.002496, allocations: 1.406 kB / 471.1 MB, free: 18.3 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.65e-05/0.002582, allocations: 0 / 471.1 MB, free: 18.3 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 9.809e-06/0.002592, allocations: 2.969 kB / 471.1 MB, free: 18.3 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.00309, allocations: 82.22 kB / 471.2 MB, free: 18.27 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.484e-05/0.003145, allocations: 0 / 471.2 MB, free: 18.27 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.003187, allocations: 3.469 kB / 471.2 MB, free: 18.27 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.003217, allocations: 3.938 kB / 471.2 MB, free: 18.27 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.969e-05/0.003237, allocations: 9.5 kB / 471.2 MB, free: 18.27 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.003248, allocations: 0 / 471.2 MB, free: 18.27 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.003429, allocations: 95.23 kB / 471.3 MB, free: 18.24 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.00346, allocations: 2.781 kB / 471.3 MB, free: 18.24 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.617e-05/0.003476, allocations: 0 / 471.3 MB, free: 18.24 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.003619, allocations: 69.36 kB / 471.3 MB, free: 18.22 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.003622, allocations: 0 / 471.3 MB, free: 18.22 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003623, allocations: 2.75 kB / 471.3 MB, free: 18.22 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.003628, allocations: 1.594 kB / 471.3 MB, free: 18.22 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.000292/0.00392, allocations: 352.4 kB / 471.7 MB, free: 17.85 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.003966, allocations: 8.625 kB / 471.7 MB, free: 17.85 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.004012, allocations: 1.281 kB / 471.7 MB, free: 17.85 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.004146, allocations: 123.2 kB / 471.8 MB, free: 17.71 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.004157, allocations: 384 / 471.8 MB, free: 17.71 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.004168, allocations: 7.531 kB / 471.8 MB, free: 17.7 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.622e-05/0.004264, allocations: 28.58 kB / 471.9 MB, free: 17.67 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.004274, allocations: 0.8125 kB / 471.9 MB, free: 17.67 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.004287, allocations: 3.656 kB / 471.9 MB, free: 17.67 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.004322, allocations: 2.969 kB / 471.9 MB, free: 17.67 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.54e-05/0.004337, allocations: 6.5 kB / 471.9 MB, free: 17.67 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.00449, allocations: 117.5 kB / 472 MB, free: 17.53 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.904e-05/0.004579, allocations: 34.61 kB / 472 MB, free: 17.49 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.004597, allocations: 17.7 kB / 472 MB, free: 17.47 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-06/0.004603, allocations: 0 / 472 MB, free: 17.47 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.004626, allocations: 36.98 kB / 472.1 MB, free: 17.43 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.004627, allocations: 1.906 kB / 472.1 MB, free: 17.43 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001589/0.004786, allocations: 37.66 kB / 472.1 MB, free: 17.4 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.004815, allocations: 58.41 kB / 472.2 MB, free: 17.33 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/0.004879, allocations: 156.8 kB / 472.3 MB, free: 17.16 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.004885, allocations: 26.77 kB / 472.3 MB, free: 17.13 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.023e-05/0.004905, allocations: 126.9 kB / 472.5 MB, free: 17 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.004936, allocations: 3.953 kB / 472.5 MB, free: 17 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.004972, allocations: 26.19 kB / 472.5 MB, free: 16.97 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0005063/0.005478, allocations: 495.2 kB / 473 MB, free: 32.48 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.005498, allocations: 7.438 kB / 473 MB, free: 32.48 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-06/0.005507, allocations: 0.875 kB / 473 MB, free: 32.48 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.408e-05/0.005541, allocations: 16.59 kB / 473 MB, free: 32.46 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.005544, allocations: 0.9062 kB / 473 MB, free: 32.46 MB / 426.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.362e-05/0.005617, allocations: 44.81 kB / 473.1 MB, free: 32.43 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.005634, allocations: 2.875 kB / 473.1 MB, free: 32.43 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.005641, allocations: 4.688 kB / 473.1 MB, free: 32.42 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.005657, allocations: 2.969 kB / 473.1 MB, free: 32.42 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.427e-06/0.005661, allocations: 5.672 kB / 473.1 MB, free: 32.42 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.005668, allocations: 0 / 473.1 MB, free: 32.42 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.462e-05/0.005682, allocations: 4.875 kB / 473.1 MB, free: 32.42 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.005694, allocations: 0 / 473.1 MB, free: 32.42 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 7.515e-05/0.005769, allocations: 164.4 kB / 473.2 MB, free: 32.25 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.005776, allocations: 0 / 473.2 MB, free: 32.25 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.005794, allocations: 7.375 kB / 473.2 MB, free: 32.24 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.005804, allocations: 0 / 473.2 MB, free: 32.24 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.005807, allocations: 0.9062 kB / 473.2 MB, free: 32.24 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.005812, allocations: 11.12 kB / 473.3 MB, free: 32.23 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.207e-05/0.005874, allocations: 110.1 kB / 473.4 MB, free: 32.1 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005875, allocations: 1.531 kB / 473.4 MB, free: 32.1 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.005876, allocations: 2.812 kB / 473.4 MB, free: 32.1 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.005877, allocations: 0 / 473.4 MB, free: 32.1 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.005883, allocations: 0 / 473.4 MB, free: 32.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.005885, allocations: 5.969 kB / 473.4 MB, free: 32.1 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.005886, allocations: 0 / 473.4 MB, free: 32.1 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.087e-05/0.005957, allocations: 79.08 kB / 473.4 MB, free: 32.01 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-06/0.005965, allocations: 7.797 kB / 473.5 MB, free: 32.01 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.005975, allocations: 0 / 473.5 MB, free: 32.01 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.005982, allocations: 0 / 473.5 MB, free: 32.01 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.005998, allocations: 3.938 kB / 473.5 MB, free: 32 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.006002, allocations: 4.125 kB / 473.5 MB, free: 32 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.006041, allocations: 119.2 kB / 473.6 MB, free: 31.89 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.006041, allocations: 0 / 473.6 MB, free: 31.89 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002484/0.00629, allocations: 29.67 kB / 473.6 MB, free: 31.88 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.0001692/0.006459, allocations: 111.2 kB / 473.7 MB, free: 31.79 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 7.957e-05/0.006539, allocations: 21.77 kB / 473.7 MB, free: 31.77 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.00654, allocations: 0 / 473.7 MB, free: 31.77 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 9.217e-06/0.00655, allocations: 14.69 kB / 473.8 MB, free: 31.76 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.006707, allocations: 0 / 473.8 MB, free: 31.76 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.00691, allocations: 97.98 kB / 473.8 MB, free: 31.66 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.767e-05/0.006938, allocations: 59.83 kB / 473.9 MB, free: 31.58 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.997e-05/0.006958, allocations: 6.812 kB / 473.9 MB, free: 31.58 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.006976, allocations: 10.78 kB / 473.9 MB, free: 31.57 MB / 426.8 MB Notification: Performance of SimCode: time 7.41e-07/0.006977, allocations: 0 / 473.9 MB, free: 31.57 MB / 426.8 MB Notification: Performance of Templates: time 0.002908/0.009885, allocations: 0.6414 MB / 474.6 MB, free: 31.53 MB / 426.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_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_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable CPUtime from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable EventCounter from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable _derdummy from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable _dummy in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable _dummy from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6590621159411967]