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.01022/0.01022, allocations: 1.751 MB / 21.35 MB, free: 356 kB / 14.72 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.001263/0.001263, allocations: 104 kB / 24.93 MB, free: 2.031 MB / 14.72 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.001562/0.001562, allocations: 212.8 kB / 28.65 MB, free: 3.297 MB / 19.63 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 1.427/1.427, allocations: 230.6 MB / 262.8 MB, free: 5.859 MB / 206.1 MB " [Timeout remaining time 178] 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 1.05/1.05, allocations: 130.7 MB / 450.4 MB, free: 6.426 MB / 350.1 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 0.3.1 (/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.1.|dx.2.|dx.3.",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.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") [Timeout 800] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06786/0.06786, allocations: 20.98 MB / 0.637 GB, free: 4.402 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.2437, allocations: 81.91 MB / 0.717 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002288/0.246, allocations: 1.022 MB / 0.718 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006167/0.2466, allocations: 195.4 kB / 0.7182 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.2466, allocations: 0 / 0.7182 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.817e-05/0.2467, allocations: 0 / 0.7182 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.356e-06/0.2467, allocations: 0 / 0.7182 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.2472, allocations: 79.78 kB / 0.7183 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.787e-05/0.2472, allocations: 7.984 kB / 0.7183 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.2473, allocations: 4 kB / 0.7183 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.235e-05/0.2473, allocations: 3.938 kB / 0.7183 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.353e-05/0.2473, allocations: 4 kB / 0.7183 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.2473, allocations: 0 / 0.7183 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.2475, allocations: 103.8 kB / 0.7184 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.2476, allocations: 0 / 0.7184 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.2476, allocations: 0 / 0.7184 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.2477, allocations: 59.78 kB / 0.7185 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2477, allocations: 0 / 0.7185 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2478, allocations: 0 / 0.7185 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2478, allocations: 0 / 0.7185 GB, free: 0.9141 MB / 0.5294 GB 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.0003904/0.2481, allocations: 258.3 kB / 0.7187 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2482, allocations: 8.031 kB / 0.7187 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.2482, allocations: 4.938 kB / 0.7187 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.2484, allocations: 102.5 kB / 0.7188 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2484, allocations: 384 / 0.7188 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.2484, allocations: 8.359 kB / 0.7188 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.2485, allocations: 34.25 kB / 0.7189 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2485, allocations: 192 / 0.7189 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.2485, allocations: 7.875 kB / 0.7189 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2486, allocations: 0 / 0.7189 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.361e-05/0.2486, allocations: 15.94 kB / 0.7189 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.2488, allocations: 105.3 kB / 0.719 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.71e-05/0.2488, allocations: 26.61 kB / 0.719 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.2489, allocations: 16.89 kB / 0.719 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.2489, allocations: 0 / 0.719 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.2489, allocations: 30.56 kB / 0.7191 GB, free: 200 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.2489, allocations: 0 / 0.7191 GB, free: 200 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001688/0.2491, allocations: 53.61 kB / 0.7191 GB, free: 140 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.2491, allocations: 55.39 kB / 0.7192 GB, free: 72 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2492, allocations: 97.86 kB / 0.7193 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2492, allocations: 29.86 kB / 0.7193 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.2493, allocations: 80.14 kB / 0.7194 GB, free: 15.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.2493, allocations: 11.94 kB / 0.7194 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.2494, allocations: 9.719 kB / 0.7194 GB, free: 15.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2495, allocations: 322.8 kB / 0.7197 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.2495, allocations: 4 kB / 0.7197 GB, free: 15.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-06/0.2495, allocations: 4 kB / 0.7197 GB, free: 15.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.2496, allocations: 24.78 kB / 0.7197 GB, free: 15.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2496, allocations: 0 / 0.7197 GB, free: 15.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.665e-05/0.2496, allocations: 45.69 kB / 0.7198 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2497, allocations: 4.062 kB / 0.7198 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2497, allocations: 4 kB / 0.7198 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.2497, allocations: 3.938 kB / 0.7198 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.364e-06/0.2497, allocations: 4 kB / 0.7198 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2497, allocations: 0 / 0.7198 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.2497, allocations: 3.953 kB / 0.7198 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2497, allocations: 0 / 0.7198 GB, free: 15.39 MB / 0.545 GB 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 9.433e-05/0.2498, allocations: 109.8 kB / 0.7199 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-06/0.2498, allocations: 0 / 0.7199 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.342e-05/0.2498, allocations: 3.688 kB / 0.7199 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.2498, allocations: 7.922 kB / 0.7199 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2498, allocations: 8 kB / 0.7199 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2499, allocations: 3.938 kB / 0.7199 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.25, allocations: 101.3 kB / 0.72 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.25, allocations: 192 / 0.72 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.25, allocations: 0 / 0.72 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.25, allocations: 3.938 kB / 0.72 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.25, allocations: 3.984 kB / 0.72 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.25, allocations: 7.922 kB / 0.72 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.25, allocations: 3.938 kB / 0.72 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.1e-05/0.2501, allocations: 69.12 kB / 0.7201 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.2501, allocations: 11.97 kB / 0.7201 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.2501, allocations: 4 kB / 0.7201 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-06/0.2501, allocations: 0 / 0.7201 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.2501, allocations: 3.938 kB / 0.7201 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.2501, allocations: 0 / 0.7201 GB, free: 15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.2502, allocations: 79.28 kB / 0.7202 GB, free: 14.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2502, allocations: 0 / 0.7202 GB, free: 14.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002161/0.2504, allocations: 16 kB / 0.7202 GB, free: 14.9 MB / 0.545 GB 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.0001865/0.2506, allocations: 111.2 kB / 0.7203 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.849e-05/0.2506, allocations: 24.02 kB / 0.7203 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2506, allocations: 0 / 0.7203 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.2507, allocations: 8 kB / 0.7203 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.2508, allocations: 1.875 kB / 0.7203 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.2511, allocations: 122.7 kB / 0.7205 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.079e-05/0.2511, allocations: 63.34 kB / 0.7205 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.2512, allocations: 11.44 kB / 0.7205 GB, free: 14.5 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.2512, allocations: 0 / 0.7205 GB, free: 14.5 MB / 0.545 GB Notification: Performance of Templates: time 0.002506/0.2537, allocations: 0.6635 MB / 0.7212 GB, free: 13.84 MB / 0.545 GB " [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=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestGenerateGrid.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.diff",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: 8.580247747246176]