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.01399/0.01399, allocations: 1.784 MB / 21.64 MB, free: 2.82 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.001269/0.001269, allocations: 87.48 kB / 25.48 MB, free: 6.422 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.001474/0.001474, allocations: 164.9 kB / 28.89 MB, free: 3.387 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.9106/0.9106, allocations: 177.2 MB / 209.3 MB, free: 2.242 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.7041/0.7041, allocations: 102.4 MB / 368.3 MB, free: 0.6992 MB / 330.8 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.633e-06/1.633e-06, allocations: 0 / 415 MB, free: 2.219 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.269e-05, allocations: 2.312 kB / 415 MB, free: 2.215 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001399/0.001422, allocations: 1.067 MB / 416.1 MB, free: 1.145 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004841/0.001906, allocations: 191.2 kB / 416.3 MB, free: 0.957 MB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.001931, allocations: 0 / 416.3 MB, free: 0.957 MB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 8.2e-05/0.002013, allocations: 7.875 kB / 416.3 MB, free: 0.9492 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 1.061e-05/0.002024, allocations: 0 / 416.3 MB, free: 0.9492 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.002476, allocations: 83.7 kB / 416.4 MB, free: 0.8672 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 5.287e-05/0.002529, allocations: 7.969 kB / 416.4 MB, free: 0.8594 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.002567, allocations: 12 kB / 416.4 MB, free: 0.8477 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.919e-05/0.002596, allocations: 0 / 416.4 MB, free: 0.8477 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.786e-05/0.002614, allocations: 4 kB / 416.4 MB, free: 0.8438 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.002623, allocations: 0 / 416.4 MB, free: 0.8438 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.00281, allocations: 99.84 kB / 416.5 MB, free: 0.7461 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.002838, allocations: 3.938 kB / 416.5 MB, free: 0.7422 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 1.063e-05/0.002848, allocations: 0 / 416.5 MB, free: 0.7422 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.002983, allocations: 67.81 kB / 416.5 MB, free: 0.6758 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002984, allocations: 4 kB / 416.5 MB, free: 0.6719 MB / 378.8 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002985, allocations: 0 / 416.5 MB, free: 0.6719 MB / 378.8 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.002988, allocations: 0 / 416.5 MB, free: 0.6719 MB / 378.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.000222/0.00321, allocations: 232.9 kB / 416.8 MB, free: 428 kB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.00324, allocations: 8.031 kB / 416.8 MB, free: 420 kB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.003264, allocations: 12.86 kB / 416.8 MB, free: 408 kB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.73e-05/0.003352, allocations: 101.8 kB / 416.9 MB, free: 280 kB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.00336, allocations: 4.375 kB / 416.9 MB, free: 276 kB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.003367, allocations: 384 / 416.9 MB, free: 276 kB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.029e-05/0.003427, allocations: 29.09 kB / 416.9 MB, free: 240 kB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.401e-06/0.003433, allocations: 192 / 416.9 MB, free: 240 kB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.003438, allocations: 4.375 kB / 416.9 MB, free: 236 kB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.003455, allocations: 384 / 416.9 MB, free: 236 kB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.156e-06/0.003464, allocations: 11.92 kB / 416.9 MB, free: 224 kB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.729e-05/0.003541, allocations: 63.88 kB / 417 MB, free: 144 kB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.341e-05/0.003594, allocations: 33.27 kB / 417 MB, free: 100 kB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.726e-06/0.003603, allocations: 8.891 kB / 417 MB, free: 88 kB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-06/0.003606, allocations: 0 / 417 MB, free: 88 kB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.003624, allocations: 30.56 kB / 417.1 MB, free: 48 kB / 378.8 MB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.003625, allocations: 0 / 417.1 MB, free: 48 kB / 378.8 MB Notification: Performance of matching and sorting (n=3): time 9.142e-05/0.003716, allocations: 45.83 kB / 417.1 MB, free: 15.99 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.003744, allocations: 55.34 kB / 417.2 MB, free: 15.93 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.407e-05/0.003788, allocations: 98.75 kB / 417.3 MB, free: 15.82 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.003798, allocations: 29.7 kB / 417.3 MB, free: 15.78 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.861e-05/0.003816, allocations: 80.14 kB / 417.4 MB, free: 15.7 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.003838, allocations: 11.84 kB / 417.4 MB, free: 15.69 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.003857, allocations: 17.7 kB / 417.4 MB, free: 15.67 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.003926, allocations: 314.8 kB / 417.7 MB, free: 15.35 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.003934, allocations: 6.828 kB / 417.7 MB, free: 15.34 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.003939, allocations: 0 / 417.7 MB, free: 15.34 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.111e-05/0.00396, allocations: 22.67 kB / 417.7 MB, free: 15.32 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.003962, allocations: 0 / 417.7 MB, free: 15.32 MB / 394.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.345e-05/0.003995, allocations: 37.8 kB / 417.8 MB, free: 15.27 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.004005, allocations: 8.031 kB / 417.8 MB, free: 15.27 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.004009, allocations: 4 kB / 417.8 MB, free: 15.26 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.004019, allocations: 0 / 417.8 MB, free: 15.26 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-06/0.004023, allocations: 0 / 417.8 MB, free: 15.26 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.004025, allocations: 0 / 417.8 MB, free: 15.26 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-06/0.004033, allocations: 3.984 kB / 417.8 MB, free: 15.26 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.004039, allocations: 0 / 417.8 MB, free: 15.26 MB / 394.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 4.661e-05/0.004086, allocations: 116.6 kB / 417.9 MB, free: 15.13 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-06/0.004089, allocations: 3.984 kB / 417.9 MB, free: 15.13 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.548e-06/0.004099, allocations: 3.688 kB / 417.9 MB, free: 15.12 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.004105, allocations: 4 kB / 417.9 MB, free: 15.12 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.004106, allocations: 4 kB / 417.9 MB, free: 15.12 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.004108, allocations: 0 / 417.9 MB, free: 15.12 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.847e-05/0.004157, allocations: 69.83 kB / 418 MB, free: 15.03 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004158, allocations: 0 / 418 MB, free: 15.03 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.004158, allocations: 0 / 418 MB, free: 15.03 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-07/0.004159, allocations: 0 / 418 MB, free: 15.03 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-06/0.004162, allocations: 0 / 418 MB, free: 15.03 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.004163, allocations: 11.94 kB / 418 MB, free: 15.02 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.004163, allocations: 0 / 418 MB, free: 15.02 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.598e-05/0.004209, allocations: 74.66 kB / 418.1 MB, free: 14.93 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.004214, allocations: 7.969 kB / 418.1 MB, free: 14.92 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-06/0.004221, allocations: 4 kB / 418.1 MB, free: 14.91 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-06/0.004224, allocations: 0 / 418.1 MB, free: 14.91 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-06/0.004232, allocations: 0 / 418.1 MB, free: 14.91 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-06/0.004233, allocations: 0 / 418.1 MB, free: 14.91 MB / 394.8 MB Notification: Performance of sorting global known variables: time 7.263e-06/0.004241, allocations: 8.859 kB / 418.1 MB, free: 14.9 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.004241, allocations: 0 / 418.1 MB, free: 14.9 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001133/0.004354, allocations: 19.98 kB / 418.1 MB, free: 14.88 MB / 394.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.0001158/0.00447, allocations: 96.39 kB / 418.2 MB, free: 14.78 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 4.573e-05/0.004516, allocations: 12.95 kB / 418.2 MB, free: 14.76 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.004518, allocations: 0 / 418.2 MB, free: 14.76 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.004529, allocations: 12.8 kB / 418.2 MB, free: 14.75 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.052e-05/0.004589, allocations: 7.922 kB / 418.2 MB, free: 14.74 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001568/0.004746, allocations: 106.4 kB / 418.4 MB, free: 14.61 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.051e-05/0.004777, allocations: 55.34 kB / 418.4 MB, free: 14.53 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 1.579e-05/0.004792, allocations: 4 kB / 418.4 MB, free: 14.53 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.004822, allocations: 47.38 kB / 418.5 MB, free: 14.48 MB / 394.8 MB Notification: Performance of SimCode: time 4.31e-07/0.004822, allocations: 0 / 418.5 MB, free: 14.48 MB / 394.8 MB Notification: Performance of Templates: time 0.002452/0.007274, allocations: 0.7312 MB / 419.2 MB, free: 13.75 MB / 394.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.3252180060371757]