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.008469/0.008469, 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.0007025/0.0007025, allocations: 81.23 kB / 25.48 MB, free: 6.395 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.001341/0.001341, allocations: 169 kB / 28.89 MB, free: 3.359 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.8986/0.8986, 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.7687/0.7687, allocations: 102.5 MB / 368.3 MB, free: 0.75 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.533e-06/1.533e-06, allocations: 0 / 415.1 MB, free: 2.188 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.093e-05, allocations: 5.125 kB / 415.1 MB, free: 2.184 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002128/0.002149, allocations: 1.104 MB / 416.2 MB, free: 1.074 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005014/0.00265, allocations: 199.2 kB / 416.4 MB, free: 0.8789 MB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.002677, allocations: 0 / 416.4 MB, free: 0.8789 MB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 7.431e-05/0.002752, allocations: 3.938 kB / 416.4 MB, free: 0.875 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 1.017e-05/0.002762, allocations: 3.938 kB / 416.4 MB, free: 0.8711 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.003177, allocations: 71.77 kB / 416.5 MB, free: 0.8008 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 4.643e-05/0.003223, allocations: 11.92 kB / 416.5 MB, free: 0.7891 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.00326, allocations: 4 kB / 416.5 MB, free: 0.7852 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.411e-05/0.003294, allocations: 0 / 416.5 MB, free: 0.7852 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 2.349e-05/0.003318, allocations: 8 kB / 416.5 MB, free: 0.7773 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.003328, allocations: 0 / 416.5 MB, free: 0.7773 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.003548, allocations: 99.84 kB / 416.6 MB, free: 0.6797 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.003576, allocations: 7.984 kB / 416.6 MB, free: 0.6719 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 1.222e-05/0.003588, allocations: 3.938 kB / 416.6 MB, free: 0.668 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.003723, allocations: 67.83 kB / 416.7 MB, free: 0.6016 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003725, allocations: 0 / 416.7 MB, free: 0.6016 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.001e-06/0.003726, allocations: 0 / 416.7 MB, free: 0.6016 MB / 378.8 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.003729, allocations: 0 / 416.7 MB, free: 0.6016 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.0002403/0.00397, allocations: 232.9 kB / 416.9 MB, free: 360 kB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.004004, allocations: 8.031 kB / 416.9 MB, free: 352 kB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.004028, allocations: 4.938 kB / 416.9 MB, free: 348 kB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.004138, allocations: 113.7 kB / 417 MB, free: 208 kB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.004146, allocations: 384 / 417 MB, free: 208 kB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-06/0.004152, allocations: 384 / 417 MB, free: 208 kB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.472e-05/0.004216, allocations: 33.09 kB / 417 MB, free: 168 kB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.004224, allocations: 192 / 417 MB, free: 168 kB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.00423, allocations: 384 / 417 MB, free: 168 kB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.004254, allocations: 4.125 kB / 417.1 MB, free: 164 kB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.718e-06/0.004263, allocations: 4 kB / 417.1 MB, free: 160 kB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.004364, allocations: 63.86 kB / 417.1 MB, free: 80 kB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.541e-05/0.00443, allocations: 41.33 kB / 417.2 MB, free: 28 kB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-06/0.00444, allocations: 4.859 kB / 417.2 MB, free: 20 kB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-06/0.004444, allocations: 7.969 kB / 417.2 MB, free: 12 kB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.00448, allocations: 30.56 kB / 417.2 MB, free: 15.97 MB / 394.8 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.004481, allocations: 0 / 417.2 MB, free: 15.97 MB / 394.8 MB Notification: Performance of matching and sorting (n=3): time 9.501e-05/0.004576, allocations: 37.78 kB / 417.2 MB, free: 15.93 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.004606, allocations: 51.41 kB / 417.3 MB, free: 15.87 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.779e-05/0.004663, allocations: 102.7 kB / 417.4 MB, free: 15.75 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.004672, allocations: 25.7 kB / 417.4 MB, free: 15.72 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.004696, allocations: 84.3 kB / 417.5 MB, free: 15.64 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.004721, allocations: 7.953 kB / 417.5 MB, free: 15.63 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.004749, allocations: 17.69 kB / 417.5 MB, free: 15.61 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.004836, allocations: 318.8 kB / 417.8 MB, free: 15.29 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.004844, allocations: 2.828 kB / 417.8 MB, free: 15.28 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-06/0.004852, allocations: 4 kB / 417.8 MB, free: 15.28 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.004879, allocations: 22.69 kB / 417.9 MB, free: 15.25 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004881, allocations: 0 / 417.9 MB, free: 15.25 MB / 394.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.381e-05/0.004935, allocations: 37.69 kB / 417.9 MB, free: 15.21 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.004946, allocations: 4 kB / 417.9 MB, free: 15.2 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.004952, allocations: 3.938 kB / 417.9 MB, free: 15.2 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.004963, allocations: 4.062 kB / 417.9 MB, free: 15.2 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.004965, allocations: 0 / 417.9 MB, free: 15.2 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.004967, allocations: 0 / 417.9 MB, free: 15.2 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.004983, allocations: 7.953 kB / 417.9 MB, free: 15.19 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.004991, allocations: 3.938 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.378e-05/0.005045, allocations: 108.7 kB / 418 MB, free: 15.07 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-06/0.005052, allocations: 3.984 kB / 418 MB, free: 15.06 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.376e-05/0.005066, allocations: 11.67 kB / 418 MB, free: 15.05 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.005074, allocations: 0 / 418 MB, free: 15.05 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.005075, allocations: 0 / 418 MB, free: 15.05 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.005077, allocations: 4 kB / 418 MB, free: 15.05 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.687e-05/0.005154, allocations: 69.84 kB / 418.1 MB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.005158, allocations: 4 kB / 418.1 MB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-06/0.00516, allocations: 0 / 418.1 MB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.005161, allocations: 0 / 418.1 MB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.005166, allocations: 3.984 kB / 418.1 MB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.005167, allocations: 0 / 418.1 MB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005168, allocations: 0 / 418.1 MB, free: 14.96 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.416e-05/0.005232, allocations: 74.61 kB / 418.2 MB, free: 14.86 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-06/0.005241, allocations: 7.922 kB / 418.2 MB, free: 14.86 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-06/0.005248, allocations: 0 / 418.2 MB, free: 14.86 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-06/0.005255, allocations: 4.031 kB / 418.2 MB, free: 14.85 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/0.005265, allocations: 0 / 418.2 MB, free: 14.85 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.00527, allocations: 4 kB / 418.2 MB, free: 14.85 MB / 394.8 MB Notification: Performance of sorting global known variables: time 9.849e-06/0.005279, allocations: 4.859 kB / 418.2 MB, free: 14.84 MB / 394.8 MB Notification: Performance of sort global known variables: time 7e-08/0.005279, allocations: 0 / 418.2 MB, free: 14.84 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001962/0.005476, allocations: 16 kB / 418.2 MB, free: 14.82 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.0001457/0.005621, allocations: 104.4 kB / 418.3 MB, free: 14.71 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 5.488e-05/0.005676, allocations: 12.86 kB / 418.3 MB, free: 14.7 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.005679, allocations: 160 / 418.3 MB, free: 14.7 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 1.024e-05/0.005689, allocations: 12.86 kB / 418.4 MB, free: 14.68 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.306e-05/0.005752, allocations: 3.938 kB / 418.4 MB, free: 14.68 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001607/0.005913, allocations: 106.3 kB / 418.5 MB, free: 14.54 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.005944, allocations: 55.36 kB / 418.5 MB, free: 14.47 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 1.694e-05/0.005961, allocations: 0 / 418.5 MB, free: 14.47 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.006, allocations: 55.36 kB / 418.6 MB, free: 14.41 MB / 394.8 MB Notification: Performance of SimCode: time 6.52e-07/0.006, allocations: 0 / 418.6 MB, free: 14.41 MB / 394.8 MB Notification: Performance of Templates: time 0.002627/0.008627, allocations: 0.7326 MB / 419.3 MB, free: 13.68 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 -s gbode -gbm=radauIIA3 -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.346571824979037]