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.01238/0.01238, allocations: 1.45 MB / 20.8 MB, free: 3.598 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.006092/0.006092, allocations: 79.59 kB / 24.45 MB, free: 7.562 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.00149/0.00149, allocations: 159.1 kB / 28.2 MB, free: 4.668 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.433/1.433, allocations: 177.1 MB / 209 MB, free: 2.797 MB / 186.7 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.075/1.075, allocations: 102.5 MB / 368.4 MB, free: 1.312 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 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_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: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 468.3 MB, free: 13.57 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.479e-05/3.703e-05, allocations: 6.312 kB / 468.3 MB, free: 13.56 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002988/0.003025, allocations: 1.011 MB / 469.3 MB, free: 12.54 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006425/0.003668, allocations: 203.3 kB / 469.5 MB, free: 12.34 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.003705, allocations: 0 / 469.5 MB, free: 12.34 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.003833, allocations: 3.938 kB / 469.5 MB, free: 12.34 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 1.123e-05/0.003845, allocations: 4 kB / 469.5 MB, free: 12.34 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.004556, allocations: 79.7 kB / 469.6 MB, free: 12.26 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 7.647e-05/0.004632, allocations: 11.88 kB / 469.6 MB, free: 12.25 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.004681, allocations: 0 / 469.6 MB, free: 12.25 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.91e-05/0.00472, allocations: 7.984 kB / 469.6 MB, free: 12.24 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 2.272e-05/0.004743, allocations: 0 / 469.6 MB, free: 12.24 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.004767, allocations: 0 / 469.6 MB, free: 12.24 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.005038, allocations: 91.86 kB / 469.7 MB, free: 12.15 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.005084, allocations: 7.984 kB / 469.7 MB, free: 12.14 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.005115, allocations: 0 / 469.7 MB, free: 12.14 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.005349, allocations: 79.75 kB / 469.8 MB, free: 12.06 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.005352, allocations: 0 / 469.8 MB, free: 12.06 MB / 442.8 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005353, allocations: 0 / 469.8 MB, free: 12.06 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.005358, allocations: 0 / 469.8 MB, free: 12.06 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.0004775/0.005836, allocations: 242.4 kB / 470 MB, free: 11.79 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.005899, allocations: 16.02 kB / 470 MB, free: 11.78 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.00596, allocations: 0.9375 kB / 470 MB, free: 11.78 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.006156, allocations: 113.7 kB / 470.1 MB, free: 11.64 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.006169, allocations: 384 / 470.1 MB, free: 11.64 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.00618, allocations: 384 / 470.1 MB, free: 11.64 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.006326, allocations: 38.27 kB / 470.2 MB, free: 11.6 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.006337, allocations: 192 / 470.2 MB, free: 11.6 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.006349, allocations: 384 / 470.2 MB, free: 11.6 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.006379, allocations: 8.359 kB / 470.2 MB, free: 11.59 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.173e-05/0.006411, allocations: 7.938 kB / 470.2 MB, free: 11.58 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.00664, allocations: 97.33 kB / 470.3 MB, free: 11.46 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.006746, allocations: 42.53 kB / 470.3 MB, free: 11.41 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.006772, allocations: 8.891 kB / 470.3 MB, free: 11.39 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.006783, allocations: 0 / 470.3 MB, free: 11.39 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.006826, allocations: 34.56 kB / 470.4 MB, free: 11.35 MB / 442.8 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.006827, allocations: 0 / 470.4 MB, free: 11.35 MB / 442.8 MB Notification: Performance of matching and sorting (n=3): time 0.0002278/0.007055, allocations: 57.69 kB / 470.4 MB, free: 11.29 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.007115, allocations: 51.41 kB / 470.5 MB, free: 11.23 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.007241, allocations: 105.7 kB / 470.6 MB, free: 11.11 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.007265, allocations: 25.7 kB / 470.6 MB, free: 11.08 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.007328, allocations: 80.14 kB / 470.7 MB, free: 11 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.007374, allocations: 15.88 kB / 470.7 MB, free: 10.98 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.007423, allocations: 13.72 kB / 470.7 MB, free: 10.96 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.007627, allocations: 310.8 kB / 471 MB, free: 10.65 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/0.007652, allocations: 7.984 kB / 471 MB, free: 10.64 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.247e-05/0.007665, allocations: 8.156 kB / 471 MB, free: 10.64 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.123e-05/0.007716, allocations: 24.88 kB / 471.1 MB, free: 10.61 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.007719, allocations: 0 / 471.1 MB, free: 10.61 MB / 442.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.48e-05/0.007813, allocations: 41.7 kB / 471.1 MB, free: 10.56 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.007833, allocations: 4 kB / 471.1 MB, free: 10.56 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.007844, allocations: 3.984 kB / 471.1 MB, free: 10.55 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.007868, allocations: 3.938 kB / 471.1 MB, free: 10.55 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.007869, allocations: 0 / 471.1 MB, free: 10.55 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.00788, allocations: 3.984 kB / 471.1 MB, free: 10.55 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.007904, allocations: 7.938 kB / 471.1 MB, free: 10.54 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.007916, allocations: 0 / 471.1 MB, free: 10.54 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.0001151/0.008031, allocations: 109.9 kB / 471.2 MB, free: 10.42 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.00805, allocations: 11.95 kB / 471.2 MB, free: 10.41 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.008071, allocations: 3.688 kB / 471.2 MB, free: 10.4 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.008079, allocations: 0 / 471.2 MB, free: 10.4 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.008092, allocations: 3.984 kB / 471.2 MB, free: 10.4 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.008099, allocations: 3.938 kB / 471.2 MB, free: 10.39 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.00825, allocations: 101.3 kB / 471.3 MB, free: 10.27 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008252, allocations: 0 / 471.3 MB, free: 10.27 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-06/0.008257, allocations: 4 kB / 471.4 MB, free: 10.26 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.00826, allocations: 0 / 471.4 MB, free: 10.26 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.008268, allocations: 0 / 471.4 MB, free: 10.26 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.00827, allocations: 4 kB / 471.4 MB, free: 10.26 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.008272, allocations: 0 / 471.4 MB, free: 10.26 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.008412, allocations: 80.98 kB / 471.4 MB, free: 10.16 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.008423, allocations: 4 kB / 471.4 MB, free: 10.16 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.008436, allocations: 0 / 471.4 MB, free: 10.16 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-06/0.008445, allocations: 0 / 471.4 MB, free: 10.16 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.008462, allocations: 192 / 471.4 MB, free: 10.16 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.008466, allocations: 0 / 471.4 MB, free: 10.16 MB / 442.8 MB Notification: Performance of sorting global known variables: time 6.403e-05/0.00853, allocations: 79.28 kB / 471.5 MB, free: 10.08 MB / 442.8 MB Notification: Performance of sort global known variables: time 6e-08/0.00853, allocations: 0 / 471.5 MB, free: 10.08 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002713/0.008802, allocations: 31.94 kB / 471.5 MB, free: 10.05 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.0002707/0.009072, allocations: 115.2 kB / 471.7 MB, free: 9.926 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.009183, allocations: 19.98 kB / 471.7 MB, free: 9.906 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.009186, allocations: 0 / 471.7 MB, free: 9.906 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 1.368e-05/0.0092, allocations: 4 kB / 471.7 MB, free: 9.902 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.009392, allocations: 6.328 kB / 471.7 MB, free: 9.898 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.00972, allocations: 100.8 kB / 471.8 MB, free: 9.773 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.738e-05/0.009807, allocations: 63.34 kB / 471.8 MB, free: 9.691 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.588e-05/0.009833, allocations: 4.125 kB / 471.9 MB, free: 9.688 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.009876, allocations: 12.5 kB / 471.9 MB, free: 9.676 MB / 442.8 MB Notification: Performance of SimCode: time 8.32e-07/0.009877, allocations: 0 / 471.9 MB, free: 9.676 MB / 442.8 MB Notification: Performance of Templates: time 0.003951/0.01383, allocations: 0.6304 MB / 472.5 MB, free: 9.047 MB / 442.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestGenerateGrid.mat","/var/lib/jenkins/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: 5.655174931045622]