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.01452/0.01452, allocations: 1.784 MB / 21.64 MB, free: 2.816 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.0008769/0.0008769, allocations: 86.77 kB / 25.49 MB, free: 6.41 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.001293/0.001293, allocations: 166.3 kB / 28.89 MB, free: 3.375 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.9952/0.9952, allocations: 177.2 MB / 209.3 MB, free: 2.23 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.765/0.765, allocations: 102.4 MB / 368.3 MB, free: 0.7383 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.703e-06/1.703e-06, allocations: 0 / 415.1 MB, free: 2.188 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.459e-05, allocations: 2.312 kB / 415.1 MB, free: 2.184 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002075/0.0021, allocations: 1.106 MB / 416.2 MB, free: 1.074 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004459/0.002546, allocations: 203.2 kB / 416.4 MB, free: 0.875 MB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.002572, allocations: 0 / 416.4 MB, free: 0.875 MB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 7.615e-05/0.002648, allocations: 7.875 kB / 416.4 MB, free: 0.8672 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 9.458e-06/0.002658, allocations: 0 / 416.4 MB, free: 0.8672 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.003064, allocations: 71.78 kB / 416.4 MB, free: 0.7969 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 4.589e-05/0.00311, allocations: 3.938 kB / 416.4 MB, free: 0.793 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.003151, allocations: 11.98 kB / 416.5 MB, free: 0.7812 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.686e-05/0.003187, allocations: 4 kB / 416.5 MB, free: 0.7773 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.594e-05/0.003203, allocations: 0 / 416.5 MB, free: 0.7773 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.003212, allocations: 0 / 416.5 MB, free: 0.7773 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.00342, allocations: 103.8 kB / 416.6 MB, free: 0.6758 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.003446, allocations: 3.938 kB / 416.6 MB, free: 0.6719 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 1.284e-05/0.003459, allocations: 4 kB / 416.6 MB, free: 0.668 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.003584, allocations: 71.81 kB / 416.6 MB, free: 0.5977 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003586, allocations: 0 / 416.6 MB, free: 0.5977 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003587, allocations: 0 / 416.6 MB, free: 0.5977 MB / 378.8 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.003591, allocations: 0 / 416.6 MB, free: 0.5977 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.0002386/0.003829, allocations: 228.9 kB / 416.9 MB, free: 356 kB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.003864, allocations: 16.03 kB / 416.9 MB, free: 340 kB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.003888, allocations: 0.9375 kB / 416.9 MB, free: 340 kB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.003994, allocations: 109.7 kB / 417 MB, free: 204 kB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-06/0.004002, allocations: 384 / 417 MB, free: 204 kB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-06/0.004007, allocations: 384 / 417 MB, free: 204 kB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.798e-05/0.004075, allocations: 33.09 kB / 417 MB, free: 164 kB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.004083, allocations: 4.172 kB / 417 MB, free: 160 kB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-06/0.004088, allocations: 384 / 417 MB, free: 160 kB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.004109, allocations: 384 / 417 MB, free: 160 kB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.378e-06/0.004119, allocations: 7.938 kB / 417 MB, free: 152 kB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.177e-05/0.00421, allocations: 63.86 kB / 417.1 MB, free: 72 kB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.076e-05/0.004271, allocations: 41.28 kB / 417.1 MB, free: 20 kB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.556e-06/0.00428, allocations: 4.953 kB / 417.1 MB, free: 12 kB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-06/0.004285, allocations: 3.984 kB / 417.1 MB, free: 8 kB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.004324, allocations: 34.59 kB / 417.2 MB, free: 15.96 MB / 394.8 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.004324, allocations: 0 / 417.2 MB, free: 15.96 MB / 394.8 MB Notification: Performance of matching and sorting (n=3): time 9.407e-05/0.004418, allocations: 33.7 kB / 417.2 MB, free: 15.93 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.004448, allocations: 51.41 kB / 417.3 MB, free: 15.86 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.004509, allocations: 106.6 kB / 417.4 MB, free: 15.75 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.00452, allocations: 25.7 kB / 417.4 MB, free: 15.71 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.183e-05/0.004542, allocations: 84.3 kB / 417.5 MB, free: 15.63 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.004569, allocations: 11.89 kB / 417.5 MB, free: 15.62 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.004596, allocations: 13.72 kB / 417.5 MB, free: 15.6 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 8.073e-05/0.004677, allocations: 314.8 kB / 417.8 MB, free: 15.28 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.004688, allocations: 10.83 kB / 417.8 MB, free: 15.27 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-06/0.004696, allocations: 3.984 kB / 417.8 MB, free: 15.27 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.539e-05/0.004721, allocations: 14.52 kB / 417.8 MB, free: 15.25 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004723, allocations: 4 kB / 417.8 MB, free: 15.24 MB / 394.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.087e-05/0.004774, allocations: 29.89 kB / 417.9 MB, free: 15.21 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.004788, allocations: 8 kB / 417.9 MB, free: 15.2 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.004795, allocations: 8.047 kB / 417.9 MB, free: 15.19 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.004812, allocations: 3.938 kB / 417.9 MB, free: 15.19 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.594e-06/0.004815, allocations: 3.984 kB / 417.9 MB, free: 15.18 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.004817, allocations: 0 / 417.9 MB, free: 15.18 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.132e-05/0.004828, allocations: 0 / 417.9 MB, free: 15.18 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.004837, allocations: 3.984 kB / 417.9 MB, free: 15.18 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 5.752e-05/0.004895, allocations: 116.6 kB / 418 MB, free: 15.05 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-06/0.0049, allocations: 0 / 418 MB, free: 15.05 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.241e-05/0.004913, allocations: 3.688 kB / 418 MB, free: 15.05 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.004923, allocations: 4 kB / 418 MB, free: 15.05 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.004924, allocations: 0 / 418 MB, free: 15.05 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.004927, allocations: 4 kB / 418 MB, free: 15.05 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.155e-05/0.004998, allocations: 69.83 kB / 418.1 MB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.005, allocations: 0 / 418.1 MB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-06/0.005002, allocations: 4 kB / 418.1 MB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005003, allocations: 0 / 418.1 MB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.005007, allocations: 4 kB / 418.1 MB, free: 14.95 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.005007, allocations: 3.938 kB / 418.1 MB, free: 14.95 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005008, allocations: 0 / 418.1 MB, free: 14.95 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.813e-05/0.005076, allocations: 70.66 kB / 418.2 MB, free: 14.86 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-06/0.005083, allocations: 7.938 kB / 418.2 MB, free: 14.85 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-06/0.005091, allocations: 32 / 418.2 MB, free: 14.85 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-06/0.005097, allocations: 4 kB / 418.2 MB, free: 14.85 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.005107, allocations: 0 / 418.2 MB, free: 14.85 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.005114, allocations: 7.969 kB / 418.2 MB, free: 14.84 MB / 394.8 MB Notification: Performance of sorting global known variables: time 1.037e-05/0.005124, allocations: 8.859 kB / 418.2 MB, free: 14.83 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005124, allocations: 0 / 418.2 MB, free: 14.83 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001818/0.005306, allocations: 16 kB / 418.2 MB, free: 14.81 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.0001456/0.005451, allocations: 96.41 kB / 418.3 MB, free: 14.71 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 5.333e-05/0.005505, allocations: 8.859 kB / 418.3 MB, free: 14.7 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.005507, allocations: 4.156 kB / 418.3 MB, free: 14.69 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 9.388e-06/0.005517, allocations: 12.84 kB / 418.3 MB, free: 14.68 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.066e-05/0.005588, allocations: 7.922 kB / 418.3 MB, free: 14.67 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001664/0.005754, allocations: 106.3 kB / 418.4 MB, free: 14.54 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.031e-05/0.005784, allocations: 51.36 kB / 418.5 MB, free: 14.46 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 2.058e-05/0.005805, allocations: 4 kB / 418.5 MB, free: 14.46 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.005837, allocations: 51.38 kB / 418.6 MB, free: 14.41 MB / 394.8 MB Notification: Performance of SimCode: time 4.21e-07/0.005837, allocations: 0 / 418.6 MB, free: 14.41 MB / 394.8 MB Notification: Performance of Templates: time 0.003183/0.00902, allocations: 0.735 MB / 419.3 MB, free: 13.68 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 -s gbode -gbm=radauIIA3 -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.4977656370028853]