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 0.3.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.3.1-main/package.mo): time 0.01036/0.01036, allocations: 1.756 MB / 21.25 MB, free: 0.6641 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.001324/0.001324, allocations: 96.42 kB / 24.81 MB, free: 2.258 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.001681/0.001681, allocations: 220.4 kB / 28.52 MB, free: 3.562 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.472/1.472, allocations: 230.5 MB / 262.6 MB, free: 6.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.176/1.176, allocations: 129.1 MB / 448.5 MB, free: 8.414 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-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 0.3.1-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.8.2 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.03377/0.03377, allocations: 21.45 MB / 0.6351 GB, free: 6.09 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.2077, allocations: 81.65 MB / 0.7149 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003599/0.2113, allocations: 2.128 MB / 0.7169 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.2123, allocations: 454.4 kB / 0.7174 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.2123, allocations: 0 / 0.7174 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2124, allocations: 11.86 kB / 0.7174 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.2125, allocations: 15.86 kB / 0.7174 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.213, allocations: 138.6 kB / 0.7175 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.2132, allocations: 83.77 kB / 0.7176 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.157e-05/0.2132, allocations: 11.98 kB / 0.7176 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.2133, allocations: 31.91 kB / 0.7177 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.819e-05/0.2134, allocations: 43.83 kB / 0.7177 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2134, allocations: 8 kB / 0.7177 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.2136, allocations: 83.86 kB / 0.7178 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.2137, allocations: 27.92 kB / 0.7178 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.2137, allocations: 39.78 kB / 0.7179 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.214, allocations: 123.6 kB / 0.718 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.214, allocations: 0 / 0.718 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.214, allocations: 0 / 0.718 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.214, allocations: 0 / 0.718 GB, free: 1.078 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000718/0.2147, allocations: 361.8 kB / 0.7183 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2147, allocations: 8.031 kB / 0.7183 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.2148, allocations: 12.89 kB / 0.7183 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.215, allocations: 134.3 kB / 0.7185 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/0.215, allocations: 30.27 kB / 0.7185 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.2151, allocations: 8.375 kB / 0.7185 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.2154, allocations: 106.2 kB / 0.7186 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2154, allocations: 7.938 kB / 0.7186 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2154, allocations: 3.938 kB / 0.7186 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2154, allocations: 4 kB / 0.7186 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.2158, allocations: 99.89 kB / 0.7187 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.2165, allocations: 331.7 kB / 0.719 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.2168, allocations: 98.55 kB / 0.7191 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.217, allocations: 72.91 kB / 0.7192 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.217, allocations: 0 / 0.7192 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.2171, allocations: 34.5 kB / 0.7192 GB, free: 15.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.2171, allocations: 4 kB / 0.7192 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0007665/0.2178, allocations: 221.7 kB / 0.7194 GB, free: 15.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.2179, allocations: 51.41 kB / 0.7195 GB, free: 15.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.218, allocations: 132.1 kB / 0.7196 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.218, allocations: 25.7 kB / 0.7196 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.2181, allocations: 96.08 kB / 0.7197 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.2181, allocations: 39.67 kB / 0.7198 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.2182, allocations: 25.7 kB / 0.7198 GB, free: 15.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2183, allocations: 330.7 kB / 0.7201 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.2185, allocations: 55.94 kB / 0.7202 GB, free: 14.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.2187, allocations: 63.89 kB / 0.7202 GB, free: 14.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.2191, allocations: 128.8 kB / 0.7203 GB, free: 14.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2191, allocations: 4 kB / 0.7204 GB, free: 14.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004833/0.2196, allocations: 169.5 kB / 0.7205 GB, free: 14.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2196, allocations: 4 kB / 0.7205 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2197, allocations: 0 / 0.7205 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2197, allocations: 0 / 0.7205 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.2201, allocations: 71.92 kB / 0.7206 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.2202, allocations: 0 / 0.7206 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2203, allocations: 19.97 kB / 0.7206 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.2203, allocations: 4.109 kB / 0.7206 GB, free: 14.18 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.0001055/0.2204, allocations: 129.7 kB / 0.7207 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.2204, allocations: 3.953 kB / 0.7207 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.2205, allocations: 12.38 kB / 0.7207 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2205, allocations: 7.984 kB / 0.7208 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.2205, allocations: 0 / 0.7208 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.2205, allocations: 7.984 kB / 0.7208 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.2207, allocations: 168.6 kB / 0.7209 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2207, allocations: 0 / 0.7209 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.2212, allocations: 68.2 kB / 0.721 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2212, allocations: 0 / 0.721 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.2212, allocations: 4 kB / 0.721 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2212, allocations: 7.938 kB / 0.721 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2212, allocations: 0 / 0.721 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007765/0.222, allocations: 339.2 kB / 0.7213 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.222, allocations: 7.984 kB / 0.7213 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.222, allocations: 0 / 0.7213 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.2222, allocations: 11.98 kB / 0.7213 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.2222, allocations: 11.98 kB / 0.7214 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.2222, allocations: 8.062 kB / 0.7214 GB, free: 13.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.251e-05/0.2223, allocations: 103.2 kB / 0.7215 GB, free: 13.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2223, allocations: 0 / 0.7215 GB, free: 13.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002738/0.2226, allocations: 28 kB / 0.7215 GB, free: 13.21 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.0001949/0.2228, allocations: 127.1 kB / 0.7216 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.2233, allocations: 127.8 kB / 0.7217 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2233, allocations: 0 / 0.7217 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.2235, allocations: 67.94 kB / 0.7218 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.2238, allocations: 9.875 kB / 0.7218 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.2244, allocations: 260.8 kB / 0.7221 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.965e-05/0.2244, allocations: 79.89 kB / 0.7221 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.2245, allocations: 19.42 kB / 0.7221 GB, free: 12.47 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2245, allocations: 0 / 0.7221 GB, free: 12.47 MB / 0.545 GB Notification: Performance of Templates: time 0.003903/0.2284, allocations: 1.577 MB / 0.7237 GB, free: 10.9 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: 8.84333485798561]