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.008547/0.008547, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0007516/0.0007516, allocations: 84.91 kB / 25.4 MB, free: 7 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.0008583/0.0008583, allocations: 159.4 kB / 29.33 MB, free: 3.137 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.9786/0.9786, allocations: 177.1 MB / 210.3 MB, free: 3.457 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.6599/0.6599, allocations: 102.5 MB / 369.9 MB, free: 216 kB / 330.7 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 2.124e-06/2.124e-06, allocations: 0 / 470.4 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.293e-05, allocations: 5.891 kB / 470.4 MB, free: 18.85 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001289/0.001312, allocations: 1.063 MB / 471.5 MB, free: 18.2 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003394/0.001651, allocations: 191.3 kB / 471.7 MB, free: 18.08 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.001678, allocations: 3.938 kB / 471.7 MB, free: 18.08 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 6.41e-05/0.001742, allocations: 3.938 kB / 471.7 MB, free: 18.07 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.925e-06/0.00175, allocations: 0.9688 kB / 471.7 MB, free: 18.07 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.002103, allocations: 84 kB / 471.8 MB, free: 18.04 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.039e-05/0.002144, allocations: 3.891 kB / 471.8 MB, free: 18.04 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.281e-05/0.002176, allocations: 2.812 kB / 471.8 MB, free: 18.04 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.739e-05/0.002204, allocations: 5.672 kB / 471.8 MB, free: 18.04 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.486e-05/0.002219, allocations: 2.781 kB / 471.8 MB, free: 18.04 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.002227, allocations: 0 / 471.8 MB, free: 18.04 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.002367, allocations: 97.08 kB / 471.9 MB, free: 18.02 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.002389, allocations: 4.812 kB / 471.9 MB, free: 18.01 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 9.778e-06/0.002398, allocations: 2.656 kB / 471.9 MB, free: 18.01 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.002502, allocations: 69.73 kB / 471.9 MB, free: 17.99 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002504, allocations: 0.5 kB / 471.9 MB, free: 17.99 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.31e-07/0.002505, allocations: 1 kB / 471.9 MB, free: 17.99 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.002508, allocations: 3.938 kB / 471.9 MB, free: 17.98 MB / 410.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.0002044/0.002712, allocations: 345.6 kB / 472.3 MB, free: 17.62 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.002748, allocations: 11.75 kB / 472.3 MB, free: 17.62 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.002771, allocations: 5.438 kB / 472.3 MB, free: 17.62 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.923e-05/0.00284, allocations: 117.9 kB / 472.4 MB, free: 17.48 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.002848, allocations: 5.438 kB / 472.4 MB, free: 17.48 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-06/0.002853, allocations: 3.609 kB / 472.4 MB, free: 17.48 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.125e-05/0.002904, allocations: 29.23 kB / 472.4 MB, free: 17.45 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.00291, allocations: 2.344 kB / 472.5 MB, free: 17.45 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-06/0.002915, allocations: 384 / 472.5 MB, free: 17.45 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.002936, allocations: 3.375 kB / 472.5 MB, free: 17.45 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.505e-06/0.002943, allocations: 6.594 kB / 472.5 MB, free: 17.44 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.576e-05/0.003039, allocations: 106.1 kB / 472.6 MB, free: 17.32 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.00309, allocations: 35.16 kB / 472.6 MB, free: 17.28 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.935e-06/0.003098, allocations: 7.688 kB / 472.6 MB, free: 17.27 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-06/0.003101, allocations: 2.75 kB / 472.6 MB, free: 17.27 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.003117, allocations: 34.23 kB / 472.6 MB, free: 17.23 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.003118, allocations: 0 / 472.6 MB, free: 17.23 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 9.703e-05/0.003215, allocations: 42.67 kB / 472.7 MB, free: 17.19 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.673e-05/0.003232, allocations: 58.22 kB / 472.7 MB, free: 17.12 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.993e-05/0.003271, allocations: 160.9 kB / 472.9 MB, free: 16.96 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-06/0.003276, allocations: 26.55 kB / 472.9 MB, free: 16.93 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.003614, allocations: 126.9 kB / 473 MB, free: 32.8 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.003641, allocations: 6.828 kB / 473.1 MB, free: 32.79 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.003664, allocations: 19.09 kB / 473.1 MB, free: 32.77 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.003784, allocations: 0.4883 MB / 473.6 MB, free: 32.27 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.003795, allocations: 10.75 kB / 473.6 MB, free: 32.27 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-06/0.003802, allocations: 0 / 473.6 MB, free: 32.27 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.221e-05/0.003824, allocations: 13.97 kB / 473.6 MB, free: 32.26 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003826, allocations: 3.562 kB / 473.6 MB, free: 32.26 MB / 426.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.555e-05/0.003871, allocations: 44.67 kB / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.003882, allocations: 2.5 kB / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.003888, allocations: 2.812 kB / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.0039, allocations: 0 / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-06/0.003904, allocations: 0 / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.003907, allocations: 0 / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.898e-06/0.003916, allocations: 3.562 kB / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.003925, allocations: 6.75 kB / 473.6 MB, free: 32.21 MB / 426.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 6.614e-05/0.003991, allocations: 152.6 kB / 473.8 MB, free: 32.05 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-06/0.003996, allocations: 0 / 473.8 MB, free: 32.05 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.004016, allocations: 10.31 kB / 473.8 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.004024, allocations: 3.422 kB / 473.8 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.004026, allocations: 2.812 kB / 473.8 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.004028, allocations: 0 / 473.8 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.246e-05/0.004081, allocations: 99.94 kB / 473.9 MB, free: 31.92 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.004082, allocations: 3.781 kB / 473.9 MB, free: 31.92 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.004083, allocations: 4 kB / 473.9 MB, free: 31.92 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.004084, allocations: 0 / 473.9 MB, free: 31.92 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-06/0.004088, allocations: 4.719 kB / 473.9 MB, free: 31.92 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.004088, allocations: 3.938 kB / 473.9 MB, free: 31.91 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.004089, allocations: 2.594 kB / 473.9 MB, free: 31.91 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.348e-05/0.004143, allocations: 76.64 kB / 474 MB, free: 31.83 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-06/0.004148, allocations: 2.375 kB / 474 MB, free: 31.83 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-06/0.004154, allocations: 0 / 474 MB, free: 31.83 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-06/0.004159, allocations: 2.344 kB / 474 MB, free: 31.83 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-06/0.004167, allocations: 1.188 kB / 474 MB, free: 31.83 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.004169, allocations: 0 / 474 MB, free: 31.83 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.124e-05/0.004201, allocations: 123.1 kB / 474.1 MB, free: 31.71 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.004201, allocations: 0 / 474.1 MB, free: 31.71 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001326/0.004333, allocations: 22.88 kB / 474.2 MB, free: 31.71 MB / 426.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.0001214/0.004455, allocations: 117.4 kB / 474.3 MB, free: 31.61 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 5.546e-05/0.00451, allocations: 17.16 kB / 474.3 MB, free: 31.6 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.004512, allocations: 2.281 kB / 474.3 MB, free: 31.6 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 7.234e-06/0.004519, allocations: 17.38 kB / 474.3 MB, free: 31.59 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.857e-05/0.004617, allocations: 5.875 kB / 474.3 MB, free: 31.58 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001327/0.00475, allocations: 93.05 kB / 474.4 MB, free: 31.48 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.776e-05/0.004768, allocations: 57.5 kB / 474.5 MB, free: 31.41 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.688e-05/0.004785, allocations: 2.75 kB / 474.5 MB, free: 31.41 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.004813, allocations: 69.11 kB / 474.5 MB, free: 31.34 MB / 426.8 MB Notification: Performance of SimCode: time 7.51e-07/0.004814, allocations: 0 / 474.5 MB, free: 31.34 MB / 426.8 MB Notification: Performance of Templates: time 0.002135/0.006949, allocations: 0.7368 MB / 475.3 MB, free: 31.29 MB / 426.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.7691892739385366]