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.01743/0.01743, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.001832/0.001832, allocations: 81.17 kB / 24.88 MB, free: 6.82 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.001961/0.001961, allocations: 166.6 kB / 28.74 MB, free: 3.652 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 1.553/1.553, allocations: 177.1 MB / 209.6 MB, free: 2.395 MB / 186.7 MB " [Timeout remaining time 178] 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 1.192/1.192, allocations: 102.5 MB / 369.1 MB, free: 0.8906 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.1.|dx.2.|dx.3.",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.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 469.1 MB, free: 13.03 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.757e-05/3.948e-05, allocations: 7.797 kB / 469.1 MB, free: 13.02 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002215/0.002254, allocations: 1.02 MB / 470.1 MB, free: 12 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005737/0.002828, allocations: 195.3 kB / 470.3 MB, free: 11.81 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.002854, allocations: 0 / 470.3 MB, free: 11.81 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.934e-05/0.002933, allocations: 0 / 470.3 MB, free: 11.81 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 7.634e-06/0.002941, allocations: 0 / 470.3 MB, free: 11.81 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.003411, allocations: 87.69 kB / 470.4 MB, free: 11.72 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 4.495e-05/0.003456, allocations: 7.938 kB / 470.4 MB, free: 11.71 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.354e-05/0.00349, allocations: 4 kB / 470.4 MB, free: 11.71 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.003526, allocations: 4 kB / 470.4 MB, free: 11.71 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 2.327e-05/0.003549, allocations: 7.984 kB / 470.4 MB, free: 11.7 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.00356, allocations: 0 / 470.4 MB, free: 11.7 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.00376, allocations: 99.78 kB / 470.5 MB, free: 11.6 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.003787, allocations: 0 / 470.5 MB, free: 11.6 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.328e-05/0.003801, allocations: 0 / 470.5 MB, free: 11.6 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.003961, allocations: 71.75 kB / 470.6 MB, free: 11.53 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.003964, allocations: 4 kB / 470.6 MB, free: 11.53 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003965, allocations: 0 / 470.6 MB, free: 11.53 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.003969, allocations: 4 kB / 470.6 MB, free: 11.52 MB / 442.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.0004195/0.004389, allocations: 348.3 kB / 470.9 MB, free: 11.14 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.004427, allocations: 8.031 kB / 470.9 MB, free: 11.14 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.004469, allocations: 4.938 kB / 470.9 MB, free: 11.13 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.004614, allocations: 112.5 kB / 471.1 MB, free: 11 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.004624, allocations: 384 / 471.1 MB, free: 11 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.004631, allocations: 384 / 471.1 MB, free: 11 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.004724, allocations: 34.2 kB / 471.1 MB, free: 10.96 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.004731, allocations: 192 / 471.1 MB, free: 10.96 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.004739, allocations: 384 / 471.1 MB, free: 10.96 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.004762, allocations: 4.375 kB / 471.1 MB, free: 10.95 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.89e-05/0.004781, allocations: 7.938 kB / 471.1 MB, free: 10.95 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.00497, allocations: 124.6 kB / 471.2 MB, free: 10.79 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.374e-05/0.005053, allocations: 27.06 kB / 471.2 MB, free: 10.75 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.005074, allocations: 11.72 kB / 471.3 MB, free: 10.73 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.005082, allocations: 0 / 471.3 MB, free: 10.73 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.005119, allocations: 41.33 kB / 471.3 MB, free: 10.68 MB / 442.8 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.00512, allocations: 0 / 471.3 MB, free: 10.68 MB / 442.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001701/0.00529, allocations: 45.73 kB / 471.3 MB, free: 10.63 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.005336, allocations: 51.41 kB / 471.4 MB, free: 10.57 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.005455, allocations: 161.9 kB / 471.6 MB, free: 10.39 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.005473, allocations: 25.7 kB / 471.6 MB, free: 10.36 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.005542, allocations: 134.8 kB / 471.7 MB, free: 10.23 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.005573, allocations: 7.953 kB / 471.7 MB, free: 10.22 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.005609, allocations: 19.38 kB / 471.7 MB, free: 10.19 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002466/0.005855, allocations: 492.1 kB / 472.2 MB, free: 9.699 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.005868, allocations: 7.938 kB / 472.2 MB, free: 9.691 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.005874, allocations: 0 / 472.2 MB, free: 9.691 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.00591, allocations: 27.61 kB / 472.3 MB, free: 9.66 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005912, allocations: 0 / 472.3 MB, free: 9.66 MB / 442.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.083e-05/0.005973, allocations: 33.7 kB / 472.3 MB, free: 9.621 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.005987, allocations: 10.69 kB / 472.3 MB, free: 9.613 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.005994, allocations: 3.984 kB / 472.3 MB, free: 9.609 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.006008, allocations: 0 / 472.3 MB, free: 9.609 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-06/0.006011, allocations: 4 kB / 472.3 MB, free: 9.605 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.006018, allocations: 3.984 kB / 472.3 MB, free: 9.602 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.322e-05/0.006032, allocations: 3.938 kB / 472.3 MB, free: 9.598 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.006041, allocations: 0 / 472.3 MB, free: 9.598 MB / 442.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 0.0001173/0.006158, allocations: 152.6 kB / 472.5 MB, free: 9.438 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.00617, allocations: 7.953 kB / 472.5 MB, free: 9.43 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.766e-05/0.006188, allocations: 3.875 kB / 472.5 MB, free: 9.422 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.006198, allocations: 11.92 kB / 472.5 MB, free: 9.41 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.006201, allocations: 0 / 472.5 MB, free: 9.41 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.006208, allocations: 7.938 kB / 472.5 MB, free: 9.402 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.006322, allocations: 112.6 kB / 472.6 MB, free: 9.258 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.006326, allocations: 4 kB / 472.6 MB, free: 9.254 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.006326, allocations: 0 / 472.6 MB, free: 9.254 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.006327, allocations: 0 / 472.6 MB, free: 9.254 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.006333, allocations: 0 / 472.6 MB, free: 9.254 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006334, allocations: 0 / 472.6 MB, free: 9.254 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006334, allocations: 0 / 472.6 MB, free: 9.254 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.908e-05/0.006433, allocations: 80.38 kB / 472.7 MB, free: 9.152 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-06/0.006437, allocations: 4.031 kB / 472.7 MB, free: 9.148 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.006447, allocations: 4 kB / 472.7 MB, free: 9.145 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-06/0.006455, allocations: 0 / 472.7 MB, free: 9.145 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.006473, allocations: 0 / 472.7 MB, free: 9.145 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.006475, allocations: 0 / 472.7 MB, free: 9.145 MB / 442.8 MB Notification: Performance of sorting global known variables: time 7.339e-05/0.006549, allocations: 127.2 kB / 472.8 MB, free: 9.02 MB / 442.8 MB Notification: Performance of sort global known variables: time 7e-08/0.006549, allocations: 0 / 472.8 MB, free: 9.02 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002325/0.006781, allocations: 31.8 kB / 472.8 MB, free: 8.988 MB / 442.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.0002013/0.006983, allocations: 115.2 kB / 473 MB, free: 8.867 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 9.797e-05/0.007081, allocations: 19.72 kB / 473 MB, free: 8.844 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007082, allocations: 0 / 473 MB, free: 8.844 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.007101, allocations: 11.69 kB / 473 MB, free: 8.828 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.00724, allocations: 4 kB / 473 MB, free: 8.824 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.007477, allocations: 98.55 kB / 473.1 MB, free: 8.699 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.651e-05/0.007543, allocations: 59.34 kB / 473.1 MB, free: 8.621 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.058e-05/0.007564, allocations: 4 kB / 473.2 MB, free: 8.617 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.007587, allocations: 8.5 kB / 473.2 MB, free: 8.609 MB / 442.8 MB Notification: Performance of SimCode: time 4.91e-07/0.007588, allocations: 128 / 473.2 MB, free: 8.609 MB / 442.8 MB Notification: Performance of Templates: time 0.003549/0.01114, allocations: 0.6407 MB / 473.8 MB, free: 7.969 MB / 442.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_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_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: 6.0094242739723995]