Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.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.01228/0.01228, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.001243/0.001243, allocations: 104.8 kB / 24.98 MB, free: 2.184 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.001437/0.001437, allocations: 206 kB / 28.71 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.416/1.416, allocations: 230.6 MB / 262.9 MB, free: 6.219 MB / 206.1 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.01/1.01, allocations: 130.7 MB / 450.4 MB, free: 6.543 MB / 350.1 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.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|noise.y|noise.y_",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|noise.y|noise.y_",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") [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.02942/0.02942, allocations: 20.61 MB / 0.6368 GB, free: 4.852 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1847, allocations: 81.9 MB / 0.7168 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003172/0.1879, allocations: 2.148 MB / 0.7189 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.1887, allocations: 442.5 kB / 0.7193 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.1888, allocations: 0 / 0.7193 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.1889, allocations: 15.86 kB / 0.7193 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.017e-05/0.1889, allocations: 7.875 kB / 0.7193 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.1894, allocations: 146.6 kB / 0.7195 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.1895, allocations: 79.78 kB / 0.7195 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.556e-05/0.1896, allocations: 15.97 kB / 0.7196 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.1897, allocations: 35.92 kB / 0.7196 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.1897, allocations: 43.83 kB / 0.7196 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1898, allocations: 8 kB / 0.7196 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.1899, allocations: 79.86 kB / 0.7197 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.19, allocations: 19.97 kB / 0.7197 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.19, allocations: 39.73 kB / 0.7198 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1903, allocations: 135.5 kB / 0.7199 GB, free: 15.65 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1903, allocations: 0 / 0.7199 GB, free: 15.65 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1903, allocations: 4 kB / 0.7199 GB, free: 15.65 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.1903, allocations: 0 / 0.7199 GB, free: 15.65 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006492/0.1909, allocations: 345.9 kB / 0.7202 GB, free: 15.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1909, allocations: 8.031 kB / 0.7202 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.191, allocations: 8.891 kB / 0.7203 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1912, allocations: 138.3 kB / 0.7204 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/0.1912, allocations: 38.27 kB / 0.7204 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1913, allocations: 8.375 kB / 0.7204 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.1916, allocations: 110.1 kB / 0.7205 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1916, allocations: 3.938 kB / 0.7205 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1916, allocations: 0 / 0.7205 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1916, allocations: 0 / 0.7205 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.192, allocations: 107.9 kB / 0.7206 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.1926, allocations: 331.6 kB / 0.721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.1929, allocations: 98.52 kB / 0.7211 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.1931, allocations: 68.94 kB / 0.7211 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1931, allocations: 7.984 kB / 0.7211 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.1931, allocations: 34.5 kB / 0.7212 GB, free: 14.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.1931, allocations: 0 / 0.7212 GB, free: 14.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0007138/0.1938, allocations: 221.5 kB / 0.7214 GB, free: 14.01 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1939, allocations: 55.41 kB / 0.7214 GB, free: 13.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.842e-05/0.194, allocations: 128.1 kB / 0.7215 GB, free: 13.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.194, allocations: 29.7 kB / 0.7216 GB, free: 13.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.1941, allocations: 96.09 kB / 0.7217 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.1941, allocations: 31.73 kB / 0.7217 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.1942, allocations: 29.7 kB / 0.7217 GB, free: 13.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1943, allocations: 326.8 kB / 0.722 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.1945, allocations: 55.89 kB / 0.7221 GB, free: 13.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.1947, allocations: 63.94 kB / 0.7221 GB, free: 13.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.1951, allocations: 128.9 kB / 0.7223 GB, free: 13.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1951, allocations: 0 / 0.7223 GB, free: 13.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004693/0.1956, allocations: 173.6 kB / 0.7224 GB, free: 12.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1956, allocations: 9.969 kB / 0.7224 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1956, allocations: 4 kB / 0.7225 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1956, allocations: 0 / 0.7225 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.1961, allocations: 63.92 kB / 0.7225 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1961, allocations: 4 kB / 0.7225 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.1962, allocations: 23.97 kB / 0.7225 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1962, allocations: 0 / 0.7225 GB, free: 12.76 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 (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0001004/0.1963, allocations: 123 kB / 0.7227 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.1963, allocations: 7.953 kB / 0.7227 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.1964, allocations: 16.36 kB / 0.7227 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1964, allocations: 0 / 0.7227 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1964, allocations: 0 / 0.7227 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1964, allocations: 4 kB / 0.7227 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.1966, allocations: 180.5 kB / 0.7229 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1966, allocations: 0 / 0.7229 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004816/0.1971, allocations: 63.92 kB / 0.7229 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1971, allocations: 0 / 0.7229 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.1971, allocations: 4 kB / 0.7229 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1971, allocations: 0 / 0.7229 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1971, allocations: 7.984 kB / 0.7229 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/0.1978, allocations: 331.5 kB / 0.7232 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.1979, allocations: 16.05 kB / 0.7233 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.1979, allocations: 0 / 0.7233 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.198, allocations: 16.08 kB / 0.7233 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.198, allocations: 15.92 kB / 0.7233 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.1981, allocations: 3.984 kB / 0.7233 GB, free: 11.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.057e-05/0.1981, allocations: 95.27 kB / 0.7234 GB, free: 11.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.1981, allocations: 0 / 0.7234 GB, free: 11.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002605/0.1984, allocations: 35.94 kB / 0.7234 GB, free: 11.79 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (noise.y_,noise.y) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * 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.0001815/0.1986, allocations: 131.1 kB / 0.7235 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004726/0.199, allocations: 131.9 kB / 0.7237 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.199, allocations: 0 / 0.7237 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.1993, allocations: 67.94 kB / 0.7237 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.1995, allocations: 11.94 kB / 0.7237 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.2, allocations: 219 kB / 0.724 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.2004, allocations: 0.6963 MB / 0.7246 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.41e-05/0.2004, allocations: 19.92 kB / 0.7247 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.2005, allocations: 19.44 kB / 0.7247 GB, free: 10.45 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.2005, allocations: 0 / 0.7247 GB, free: 10.45 MB / 0.545 GB Notification: Performance of Templates: time 0.004371/0.2048, allocations: 1.461 MB / 0.7261 GB, free: 8.988 MB / 0.545 GB " [Timeout remaining time 800] make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 5.568524994072504]