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.01417/0.01417, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.001403/0.001403, allocations: 85.95 kB / 25.62 MB, free: 6.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.001763/0.001763, allocations: 172.9 kB / 29.46 MB, free: 3.191 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.9088/0.9088, allocations: 177.2 MB / 210.3 MB, free: 3.586 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.5976/0.5976, allocations: 102.5 MB / 369.8 MB, free: 340 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.764e-06/1.764e-06, allocations: 0 / 469.8 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.13e-05, allocations: 3.438 kB / 469.8 MB, free: 19.02 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001565/0.001587, allocations: 1.053 MB / 470.9 MB, free: 18.37 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004662/0.002053, allocations: 198 kB / 471.1 MB, free: 18.25 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.002088, allocations: 0 / 471.1 MB, free: 18.25 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.868e-05/0.002167, allocations: 6.312 kB / 471.1 MB, free: 18.25 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 8.385e-06/0.002175, allocations: 0 / 471.1 MB, free: 18.25 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.002642, allocations: 81.12 kB / 471.2 MB, free: 18.22 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.096e-05/0.002693, allocations: 6.891 kB / 471.2 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.002729, allocations: 2.875 kB / 471.2 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.00276, allocations: 7.219 kB / 471.2 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.795e-05/0.002778, allocations: 3.906 kB / 471.2 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.002789, allocations: 0 / 471.2 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.002964, allocations: 93.98 kB / 471.3 MB, free: 18.19 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.002989, allocations: 0 / 471.3 MB, free: 18.19 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.49e-05/0.003004, allocations: 2.844 kB / 471.3 MB, free: 18.19 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.003143, allocations: 72.06 kB / 471.4 MB, free: 18.16 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003145, allocations: 0 / 471.4 MB, free: 18.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003146, allocations: 0 / 471.4 MB, free: 18.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.00315, allocations: 1.406 kB / 471.4 MB, free: 18.16 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.0002363/0.003386, allocations: 352.3 kB / 471.7 MB, free: 17.79 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.003422, allocations: 8.844 kB / 471.7 MB, free: 17.79 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.003461, allocations: 4.781 kB / 471.7 MB, free: 17.79 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.003568, allocations: 120.1 kB / 471.8 MB, free: 17.65 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.003577, allocations: 384 / 471.8 MB, free: 17.65 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.003584, allocations: 1.062 kB / 471.8 MB, free: 17.65 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.786e-05/0.003662, allocations: 37.36 kB / 471.9 MB, free: 17.62 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.003669, allocations: 0.8125 kB / 471.9 MB, free: 17.62 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.003677, allocations: 384 / 471.9 MB, free: 17.62 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.003704, allocations: 6.156 kB / 471.9 MB, free: 17.62 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.35e-05/0.003717, allocations: 6.844 kB / 471.9 MB, free: 17.61 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.003845, allocations: 118.8 kB / 472 MB, free: 17.47 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.539e-05/0.00392, allocations: 38.55 kB / 472 MB, free: 17.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.252e-05/0.003933, allocations: 10.59 kB / 472.1 MB, free: 17.42 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-06/0.003938, allocations: 0 / 472.1 MB, free: 17.42 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.003954, allocations: 34.7 kB / 472.1 MB, free: 17.38 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.003955, allocations: 0 / 472.1 MB, free: 17.38 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001285/0.004084, allocations: 39.97 kB / 472.1 MB, free: 17.34 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.004106, allocations: 60.56 kB / 472.2 MB, free: 17.27 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.181e-05/0.004158, allocations: 160 kB / 472.3 MB, free: 17.11 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.004165, allocations: 25.7 kB / 472.4 MB, free: 17.07 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.667e-05/0.004181, allocations: 130.8 kB / 472.5 MB, free: 16.95 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.004205, allocations: 3.953 kB / 472.5 MB, free: 16.94 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.00423, allocations: 21.84 kB / 472.5 MB, free: 16.91 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003176/0.004548, allocations: 496.2 kB / 473 MB, free: 32.42 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.004563, allocations: 6.281 kB / 473 MB, free: 32.42 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-06/0.004571, allocations: 0 / 473 MB, free: 32.42 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.0046, allocations: 14.66 kB / 473 MB, free: 32.41 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.004602, allocations: 0 / 473 MB, free: 32.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.947e-05/0.004661, allocations: 49.7 kB / 473.1 MB, free: 32.37 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.004674, allocations: 8.719 kB / 473.1 MB, free: 32.37 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.004684, allocations: 0 / 473.1 MB, free: 32.37 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.004698, allocations: 2.938 kB / 473.1 MB, free: 32.37 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.004699, allocations: 3.938 kB / 473.1 MB, free: 32.36 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.004704, allocations: 0 / 473.1 MB, free: 32.36 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.004718, allocations: 3.938 kB / 473.1 MB, free: 32.36 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.004726, allocations: 0 / 473.1 MB, free: 32.36 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 6.384e-05/0.00479, allocations: 158.3 kB / 473.2 MB, free: 32.2 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.004798, allocations: 0 / 473.2 MB, free: 32.2 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.004813, allocations: 7.062 kB / 473.3 MB, free: 32.19 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.004824, allocations: 3 kB / 473.3 MB, free: 32.19 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.004827, allocations: 0 / 473.3 MB, free: 32.19 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.004832, allocations: 9.297 kB / 473.3 MB, free: 32.18 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.166e-05/0.004894, allocations: 120.5 kB / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.004896, allocations: 0 / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.004897, allocations: 0 / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.004899, allocations: 0 / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.004905, allocations: 2.844 kB / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.004906, allocations: 0 / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.004907, allocations: 0 / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.543e-05/0.004973, allocations: 83.77 kB / 473.5 MB, free: 31.95 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-06/0.004979, allocations: 3.953 kB / 473.5 MB, free: 31.95 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.004989, allocations: 1.875 kB / 473.5 MB, free: 31.95 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-06/0.004997, allocations: 2.906 kB / 473.5 MB, free: 31.95 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.005011, allocations: 0 / 473.5 MB, free: 31.95 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.005015, allocations: 3.234 kB / 473.5 MB, free: 31.95 MB / 426.8 MB Notification: Performance of sorting global known variables: time 4.355e-05/0.005058, allocations: 123.4 kB / 473.6 MB, free: 31.83 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.005058, allocations: 0 / 473.6 MB, free: 31.83 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002192/0.005278, allocations: 22.97 kB / 473.6 MB, free: 31.82 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.0001602/0.005438, allocations: 114.3 kB / 473.7 MB, free: 31.74 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 7.361e-05/0.005511, allocations: 20.09 kB / 473.8 MB, free: 31.72 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.005513, allocations: 0.5 kB / 473.8 MB, free: 31.72 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.005523, allocations: 20.48 kB / 473.8 MB, free: 31.71 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.005671, allocations: 5.672 kB / 473.8 MB, free: 31.7 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001786/0.005849, allocations: 96.16 kB / 473.9 MB, free: 31.6 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.861e-05/0.005878, allocations: 53.89 kB / 473.9 MB, free: 31.53 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.581e-05/0.005894, allocations: 0 / 473.9 MB, free: 31.53 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.00591, allocations: 14.69 kB / 473.9 MB, free: 31.51 MB / 426.8 MB Notification: Performance of SimCode: time 7.92e-07/0.005911, allocations: 1.5 kB / 473.9 MB, free: 31.51 MB / 426.8 MB Notification: Performance of Templates: time 0.003141/0.009053, allocations: 0.6362 MB / 474.6 MB, free: 31.47 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.452801984967664]