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.008523/0.008523, 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.0007364/0.0007364, allocations: 86.08 kB / 25.48 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.0008421/0.0008421, allocations: 166.6 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.8337/0.8337, allocations: 177.2 MB / 209.3 MB, free: 2.223 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.7488/0.7488, allocations: 102.5 MB / 368.3 MB, free: 0.7578 MB / 330.8 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.032e-06/1.032e-06, allocations: 0 / 415 MB, free: 2.25 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.256e-06/9.288e-06, allocations: 2.312 kB / 415 MB, free: 2.246 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001104/0.001114, allocations: 1.056 MB / 416.1 MB, free: 1.188 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003054/0.001419, allocations: 207.1 kB / 416.3 MB, free: 0.9844 MB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.001436, allocations: 0 / 416.3 MB, free: 0.9844 MB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 4.418e-05/0.00148, allocations: 0 / 416.3 MB, free: 0.9844 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 6.152e-06/0.001487, allocations: 0 / 416.3 MB, free: 0.9844 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.001764, allocations: 87.64 kB / 416.4 MB, free: 0.8984 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 2.797e-05/0.001792, allocations: 3.938 kB / 416.4 MB, free: 0.8945 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.507e-05/0.001817, allocations: 11.98 kB / 416.4 MB, free: 0.8828 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.951e-05/0.001836, allocations: 4 kB / 416.4 MB, free: 0.8789 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.121e-05/0.001847, allocations: 0 / 416.4 MB, free: 0.8789 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.001855, allocations: 4 kB / 416.4 MB, free: 0.875 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.001972, allocations: 95.84 kB / 416.5 MB, free: 0.7812 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.001988, allocations: 3.984 kB / 416.5 MB, free: 0.7773 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 7.303e-06/0.001996, allocations: 0 / 416.5 MB, free: 0.7773 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 9.191e-05/0.002087, allocations: 75.7 kB / 416.6 MB, free: 0.7031 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.002089, allocations: 0 / 416.6 MB, free: 0.7031 MB / 378.8 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002089, allocations: 4 kB / 416.6 MB, free: 0.6992 MB / 378.8 MB Notification: Performance of Transformations before backend: time 2.224e-06/0.002092, allocations: 0 / 416.6 MB, free: 0.6992 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.0001838/0.002275, allocations: 228.9 kB / 416.8 MB, free: 460 kB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.351e-05/0.002299, allocations: 8.031 kB / 416.8 MB, free: 452 kB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.78e-05/0.002317, allocations: 4.938 kB / 416.8 MB, free: 448 kB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.284e-05/0.00239, allocations: 105.8 kB / 416.9 MB, free: 316 kB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.002396, allocations: 4.359 kB / 416.9 MB, free: 312 kB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-06/0.002404, allocations: 4.375 kB / 416.9 MB, free: 308 kB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.859e-05/0.002453, allocations: 29.09 kB / 417 MB, free: 272 kB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-06/0.002457, allocations: 192 / 417 MB, free: 272 kB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-06/0.002462, allocations: 384 / 417 MB, free: 272 kB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.002478, allocations: 4.375 kB / 417 MB, free: 268 kB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.687e-06/0.002487, allocations: 7.875 kB / 417 MB, free: 260 kB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.837e-05/0.002555, allocations: 75.86 kB / 417 MB, free: 168 kB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.651e-05/0.002602, allocations: 21.41 kB / 417.1 MB, free: 136 kB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-06/0.002609, allocations: 8.891 kB / 417.1 MB, free: 124 kB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-06/0.002612, allocations: 0 / 417.1 MB, free: 124 kB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.002628, allocations: 30.56 kB / 417.1 MB, free: 84 kB / 378.8 MB Notification: Performance of pre-optimization done (n=3): time 5.41e-07/0.002628, allocations: 0 / 417.1 MB, free: 84 kB / 378.8 MB Notification: Performance of matching and sorting (n=3): time 6.514e-05/0.002693, allocations: 41.72 kB / 417.1 MB, free: 36 kB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.002728, allocations: 55.41 kB / 417.2 MB, free: 15.97 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.733e-05/0.002765, allocations: 94.84 kB / 417.3 MB, free: 15.86 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.002773, allocations: 33.72 kB / 417.3 MB, free: 15.82 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.786e-05/0.002791, allocations: 84.14 kB / 417.4 MB, free: 15.74 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.002808, allocations: 15.84 kB / 417.4 MB, free: 15.72 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.002826, allocations: 17.7 kB / 417.4 MB, free: 15.7 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.35e-05/0.00289, allocations: 318.8 kB / 417.8 MB, free: 15.38 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-06/0.002895, allocations: 2.828 kB / 417.8 MB, free: 15.38 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-06/0.002899, allocations: 4 kB / 417.8 MB, free: 15.37 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.635e-05/0.002915, allocations: 14.52 kB / 417.8 MB, free: 15.35 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.002916, allocations: 0 / 417.8 MB, free: 15.35 MB / 394.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.135e-05/0.002947, allocations: 45.8 kB / 417.8 MB, free: 15.3 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.002956, allocations: 10.88 kB / 417.8 MB, free: 15.29 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.002959, allocations: 0 / 417.8 MB, free: 15.29 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.002968, allocations: 4 kB / 417.8 MB, free: 15.29 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.316e-06/0.002971, allocations: 0 / 417.8 MB, free: 15.29 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.002973, allocations: 0 / 417.8 MB, free: 15.29 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-06/0.002979, allocations: 0 / 417.8 MB, free: 15.29 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.002984, allocations: 0 / 417.8 MB, free: 15.29 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.057e-05/0.003025, allocations: 116.6 kB / 417.9 MB, free: 15.16 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-06/0.003028, allocations: 3.984 kB / 418 MB, free: 15.16 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.202e-05/0.003041, allocations: 3.688 kB / 418 MB, free: 15.16 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.003046, allocations: 0 / 418 MB, free: 15.16 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.003048, allocations: 8 kB / 418 MB, free: 15.15 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.003051, allocations: 0 / 418 MB, free: 15.15 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.602e-05/0.003097, allocations: 65.84 kB / 418 MB, free: 15.07 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.003097, allocations: 0 / 418 MB, free: 15.07 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-06/0.003099, allocations: 4 kB / 418 MB, free: 15.06 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.003101, allocations: 3.984 kB / 418 MB, free: 15.06 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-06/0.003104, allocations: 0 / 418 MB, free: 15.06 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.003105, allocations: 0 / 418 MB, free: 15.06 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.003105, allocations: 4 kB / 418 MB, free: 15.05 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.922e-05/0.003145, allocations: 70.66 kB / 418.1 MB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-06/0.00315, allocations: 7.922 kB / 418.1 MB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-06/0.003156, allocations: 4.031 kB / 418.1 MB, free: 14.95 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-06/0.003159, allocations: 4 kB / 418.1 MB, free: 14.95 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-06/0.003167, allocations: 4 kB / 418.1 MB, free: 14.95 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.003169, allocations: 0 / 418.1 MB, free: 14.95 MB / 394.8 MB Notification: Performance of sorting global known variables: time 6.071e-06/0.003175, allocations: 4.859 kB / 418.1 MB, free: 14.94 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003175, allocations: 4 kB / 418.1 MB, free: 14.93 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001008/0.003276, allocations: 15.94 kB / 418.2 MB, free: 14.92 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.0001015/0.003377, allocations: 100.4 kB / 418.2 MB, free: 14.81 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 4.161e-05/0.003419, allocations: 20.88 kB / 418.3 MB, free: 14.79 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.00342, allocations: 0 / 418.3 MB, free: 14.79 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/0.003426, allocations: 8.859 kB / 418.3 MB, free: 14.77 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.899e-05/0.003465, allocations: 3.938 kB / 418.3 MB, free: 14.77 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001165/0.003582, allocations: 102.4 kB / 418.4 MB, free: 14.64 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.203e-05/0.003604, allocations: 55.36 kB / 418.4 MB, free: 14.57 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 1.241e-05/0.003616, allocations: 3.984 kB / 418.4 MB, free: 14.56 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.003639, allocations: 51.38 kB / 418.5 MB, free: 14.51 MB / 394.8 MB Notification: Performance of SimCode: time 2.71e-07/0.003639, allocations: 0 / 418.5 MB, free: 14.51 MB / 394.8 MB Notification: Performance of Templates: time 0.001771/0.005411, allocations: 0.7274 MB / 419.2 MB, free: 13.79 MB / 394.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.2334829620085657]