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.01581/0.01581, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.00846/0.00846, allocations: 79.08 kB / 24.44 MB, free: 7.551 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.001932/0.001932, allocations: 158.5 kB / 28.19 MB, free: 4.684 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.511/1.511, allocations: 177.1 MB / 209 MB, free: 2.812 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.168/1.168, allocations: 102.5 MB / 368.3 MB, free: 1.258 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 0.5.2 (/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.893e-06/1.893e-06, allocations: 0 / 468.3 MB, free: 13.51 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.216e-05/4.405e-05, allocations: 7.859 kB / 468.3 MB, free: 13.5 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.00241/0.002454, allocations: 1.023 MB / 469.3 MB, free: 12.48 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006202/0.003074, allocations: 199.3 kB / 469.5 MB, free: 12.28 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.003108, allocations: 3.938 kB / 469.5 MB, free: 12.28 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.511e-05/0.003193, allocations: 4 kB / 469.5 MB, free: 12.27 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 8.596e-06/0.003202, allocations: 8 kB / 469.5 MB, free: 12.27 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.00373, allocations: 75.7 kB / 469.6 MB, free: 12.19 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 4.923e-05/0.00378, allocations: 11.94 kB / 469.6 MB, free: 12.18 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.003816, allocations: 0 / 469.6 MB, free: 12.18 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.003851, allocations: 4 kB / 469.6 MB, free: 12.18 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.858e-05/0.00387, allocations: 0 / 469.6 MB, free: 12.18 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.003881, allocations: 0 / 469.6 MB, free: 12.18 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.004114, allocations: 95.84 kB / 469.7 MB, free: 12.08 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.004143, allocations: 0 / 469.7 MB, free: 12.08 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.004166, allocations: 0 / 469.7 MB, free: 12.08 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.004361, allocations: 83.75 kB / 469.8 MB, free: 12 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.004364, allocations: 0 / 469.8 MB, free: 12 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004365, allocations: 3.938 kB / 469.8 MB, free: 12 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.004369, allocations: 0 / 469.8 MB, free: 12 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.000396/0.004765, allocations: 242.4 kB / 470 MB, free: 11.73 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.004809, allocations: 8.031 kB / 470 MB, free: 11.72 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.004857, allocations: 4.938 kB / 470 MB, free: 11.71 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.005024, allocations: 109.7 kB / 470.1 MB, free: 11.58 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.005036, allocations: 384 / 470.1 MB, free: 11.58 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.005049, allocations: 4.375 kB / 470.1 MB, free: 11.58 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.005161, allocations: 34.27 kB / 470.2 MB, free: 11.54 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.005169, allocations: 4.188 kB / 470.2 MB, free: 11.54 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.005177, allocations: 384 / 470.2 MB, free: 11.54 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.005196, allocations: 384 / 470.2 MB, free: 11.54 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.005223, allocations: 15.92 kB / 470.2 MB, free: 11.52 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.005403, allocations: 105.2 kB / 470.3 MB, free: 11.39 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.883e-05/0.005492, allocations: 34.61 kB / 470.3 MB, free: 11.34 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.005516, allocations: 8.891 kB / 470.3 MB, free: 11.33 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.005526, allocations: 0 / 470.3 MB, free: 11.33 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.005558, allocations: 30.56 kB / 470.4 MB, free: 11.29 MB / 442.8 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.005559, allocations: 0 / 470.4 MB, free: 11.29 MB / 442.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001772/0.005736, allocations: 61.67 kB / 470.4 MB, free: 11.23 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.005783, allocations: 51.41 kB / 470.5 MB, free: 11.16 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.005885, allocations: 93.8 kB / 470.6 MB, free: 11.06 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.005905, allocations: 33.64 kB / 470.6 MB, free: 11.02 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.005951, allocations: 80.14 kB / 470.7 MB, free: 10.94 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.005986, allocations: 11.94 kB / 470.7 MB, free: 10.93 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.006021, allocations: 17.7 kB / 470.7 MB, free: 10.91 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.006183, allocations: 310.8 kB / 471 MB, free: 10.59 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.0062, allocations: 4 kB / 471 MB, free: 10.59 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.006217, allocations: 7.984 kB / 471 MB, free: 10.58 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.16e-05/0.006259, allocations: 25.23 kB / 471 MB, free: 10.55 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006261, allocations: 0 / 471 MB, free: 10.55 MB / 442.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.441e-05/0.006345, allocations: 49.61 kB / 471.1 MB, free: 10.5 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.006364, allocations: 10.66 kB / 471.1 MB, free: 10.49 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.006369, allocations: 0 / 471.1 MB, free: 10.49 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.00639, allocations: 0 / 471.1 MB, free: 10.49 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.006391, allocations: 0 / 471.1 MB, free: 10.49 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.006396, allocations: 0 / 471.1 MB, free: 10.49 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.006414, allocations: 7.891 kB / 471.1 MB, free: 10.48 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.006427, allocations: 3.984 kB / 471.1 MB, free: 10.48 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 9.882e-05/0.006526, allocations: 113.9 kB / 471.2 MB, free: 10.36 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.006535, allocations: 0 / 471.2 MB, free: 10.36 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.725e-05/0.006552, allocations: 7.688 kB / 471.2 MB, free: 10.35 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.006561, allocations: 4 kB / 471.2 MB, free: 10.34 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.006565, allocations: 0 / 471.2 MB, free: 10.34 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.006571, allocations: 3.938 kB / 471.2 MB, free: 10.34 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.006693, allocations: 101.3 kB / 471.3 MB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.006697, allocations: 4 kB / 471.3 MB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.006698, allocations: 0 / 471.3 MB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.0067, allocations: 0 / 471.3 MB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.006706, allocations: 0 / 471.3 MB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.006709, allocations: 8 kB / 471.3 MB, free: 10.2 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.00671, allocations: 0 / 471.3 MB, free: 10.2 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.006824, allocations: 77 kB / 471.4 MB, free: 10.11 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-06/0.00683, allocations: 0 / 471.4 MB, free: 10.11 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.006842, allocations: 0 / 471.4 MB, free: 10.11 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.257e-05/0.006854, allocations: 7.984 kB / 471.4 MB, free: 10.1 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.006868, allocations: 0 / 471.4 MB, free: 10.1 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.006871, allocations: 0 / 471.4 MB, free: 10.1 MB / 442.8 MB Notification: Performance of sorting global known variables: time 4.718e-05/0.006918, allocations: 79.22 kB / 471.5 MB, free: 10.02 MB / 442.8 MB Notification: Performance of sort global known variables: time 8e-08/0.006918, allocations: 4 kB / 471.5 MB, free: 10.02 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002441/0.007163, allocations: 19.88 kB / 471.5 MB, free: 9.996 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.0003173/0.00748, allocations: 123.3 kB / 471.6 MB, free: 9.867 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.007561, allocations: 12 kB / 471.7 MB, free: 9.855 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007562, allocations: 0 / 471.7 MB, free: 9.855 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.007588, allocations: 15.92 kB / 471.7 MB, free: 9.84 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.007735, allocations: 0.9844 kB / 471.7 MB, free: 9.84 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.007987, allocations: 96.89 kB / 471.8 MB, free: 9.719 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.392e-05/0.008051, allocations: 59.36 kB / 471.8 MB, free: 9.641 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.138e-05/0.008073, allocations: 4.125 kB / 471.8 MB, free: 9.637 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.008107, allocations: 12.48 kB / 471.8 MB, free: 9.625 MB / 442.8 MB Notification: Performance of SimCode: time 4.41e-07/0.008107, allocations: 0 / 471.8 MB, free: 9.625 MB / 442.8 MB Notification: Performance of Templates: time 0.003526/0.01163, allocations: 0.6388 MB / 472.5 MB, free: 8.988 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=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) [Timeout 800] 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: 5.872365969000384]