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.01341/0.01341, allocations: 1.749 MB / 21.34 MB, free: 0.5898 MB / 14.72 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.001732/0.001732, allocations: 105.5 kB / 24.94 MB, free: 2.176 MB / 14.72 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.002369/0.002369, allocations: 209.6 kB / 28.67 MB, free: 3.461 MB / 19.63 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.521/1.521, allocations: 230.6 MB / 262.9 MB, free: 6.031 MB / 206.1 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.095/1.095, allocations: 130.7 MB / 450.4 MB, free: 6.598 MB / 350.1 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.3.1 (/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: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03336/0.03336, allocations: 20.79 MB / 0.6369 GB, free: 4.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.2225, allocations: 81.9 MB / 0.7169 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002352/0.2249, allocations: 1.014 MB / 0.7179 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005986/0.2255, allocations: 215.6 kB / 0.7181 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.2255, allocations: 7.938 kB / 0.7181 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.78e-05/0.2256, allocations: 0 / 0.7181 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.516e-06/0.2256, allocations: 0 / 0.7181 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.2262, allocations: 83.77 kB / 0.7182 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.695e-05/0.2262, allocations: 0 / 0.7182 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.2263, allocations: 11.98 kB / 0.7182 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.2263, allocations: 4 kB / 0.7182 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.219e-05/0.2263, allocations: 0 / 0.7182 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.2263, allocations: 0 / 0.7182 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.2265, allocations: 103.8 kB / 0.7183 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.2266, allocations: 7.938 kB / 0.7183 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.2266, allocations: 0 / 0.7183 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.2267, allocations: 59.77 kB / 0.7184 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2267, allocations: 3.938 kB / 0.7184 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2267, allocations: 0 / 0.7184 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2267, allocations: 0 / 0.7184 GB, free: 1.18 MB / 0.5294 GB 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.0003741/0.2271, allocations: 250.4 kB / 0.7186 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2272, allocations: 8.031 kB / 0.7186 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.2272, allocations: 0.9375 kB / 0.7186 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.2273, allocations: 110.5 kB / 0.7187 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2273, allocations: 384 / 0.7187 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.2274, allocations: 384 / 0.7187 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.2275, allocations: 30.27 kB / 0.7188 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2275, allocations: 192 / 0.7188 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2275, allocations: 3.938 kB / 0.7188 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.2275, allocations: 11.94 kB / 0.7188 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.53e-05/0.2275, allocations: 11.98 kB / 0.7188 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.2277, allocations: 124.7 kB / 0.7189 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.129e-05/0.2278, allocations: 34.61 kB / 0.7189 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.2278, allocations: 8.891 kB / 0.719 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.517e-06/0.2278, allocations: 0 / 0.719 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.2279, allocations: 34.56 kB / 0.719 GB, free: 448 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.2279, allocations: 0 / 0.719 GB, free: 448 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001698/0.228, allocations: 57.61 kB / 0.719 GB, free: 384 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.2281, allocations: 55.41 kB / 0.7191 GB, free: 316 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.2282, allocations: 93.84 kB / 0.7192 GB, free: 212 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.2282, allocations: 25.7 kB / 0.7192 GB, free: 180 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.2282, allocations: 84.14 kB / 0.7193 GB, free: 92 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.2283, allocations: 15.88 kB / 0.7193 GB, free: 76 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.2283, allocations: 9.875 kB / 0.7193 GB, free: 60 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.2285, allocations: 322.8 kB / 0.7196 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.2285, allocations: 4 kB / 0.7196 GB, free: 15.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-06/0.2285, allocations: 4 kB / 0.7196 GB, free: 15.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.976e-05/0.2285, allocations: 28.78 kB / 0.7197 GB, free: 15.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2285, allocations: 0 / 0.7197 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.614e-05/0.2286, allocations: 41.69 kB / 0.7197 GB, free: 15.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2286, allocations: 4 kB / 0.7197 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2286, allocations: 3.938 kB / 0.7197 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2287, allocations: 64 / 0.7197 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.2287, allocations: 4 kB / 0.7197 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2287, allocations: 8 kB / 0.7197 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.356e-05/0.2287, allocations: 3.953 kB / 0.7197 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2287, allocations: 0 / 0.7197 GB, free: 15.62 MB / 0.545 GB 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 8.445e-05/0.2288, allocations: 105.8 kB / 0.7198 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.2288, allocations: 8.188 kB / 0.7198 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.56e-05/0.2288, allocations: 11.56 kB / 0.7198 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.2288, allocations: 7.969 kB / 0.7199 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2288, allocations: 4 kB / 0.7199 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2288, allocations: 0 / 0.7199 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.2289, allocations: 120.8 kB / 0.72 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2289, allocations: 0 / 0.72 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-06/0.2289, allocations: 3.984 kB / 0.72 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.2289, allocations: 0 / 0.72 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2289, allocations: 3.938 kB / 0.72 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2289, allocations: 3.938 kB / 0.72 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2289, allocations: 0 / 0.72 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.138e-05/0.229, allocations: 73.12 kB / 0.7201 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-06/0.229, allocations: 0 / 0.7201 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.2291, allocations: 3.938 kB / 0.7201 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-06/0.2291, allocations: 0 / 0.7201 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.2291, allocations: 4 kB / 0.7201 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.2291, allocations: 0 / 0.7201 GB, free: 15.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.713e-05/0.2291, allocations: 79.27 kB / 0.7201 GB, free: 15.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2291, allocations: 0 / 0.7201 GB, free: 15.13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000216/0.2293, allocations: 23.88 kB / 0.7202 GB, free: 15.11 MB / 0.545 GB 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.0001953/0.2295, allocations: 119.4 kB / 0.7203 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.874e-05/0.2296, allocations: 15.92 kB / 0.7203 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2296, allocations: 0 / 0.7203 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.2296, allocations: 8 kB / 0.7203 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.2298, allocations: 3.969 kB / 0.7203 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.23, allocations: 126.7 kB / 0.7204 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.2303, allocations: 0.6769 MB / 0.7211 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.2304, allocations: 11.44 kB / 0.7211 GB, free: 14.09 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.2304, allocations: 0 / 0.7211 GB, free: 14.09 MB / 0.545 GB Notification: Performance of Templates: time 0.002482/0.2328, allocations: 0.6634 MB / 0.7217 GB, free: 13.42 MB / 0.545 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestGenerateGrid.mat","/var/lib/jenkins1/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: 8.887837846996263]