Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01043/0.01043, 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.001384/0.001384, allocations: 105.6 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.00175/0.00175, allocations: 208 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.492/1.492, allocations: 230.6 MB / 262.8 MB, free: 6.023 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.115/1.115, allocations: 130.7 MB / 450.4 MB, free: 6.562 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.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|noise.y|noise.y_",fileNamePrefix="ClaRa_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_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.03342/0.03342, allocations: 20.78 MB / 0.637 GB, free: 4.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.2154, allocations: 81.91 MB / 0.7169 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003643/0.2191, allocations: 2.148 MB / 0.719 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.22, allocations: 438.5 kB / 0.7195 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.22, allocations: 0 / 0.7195 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.2202, allocations: 7.875 kB / 0.7195 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.858e-05/0.2202, allocations: 15.88 kB / 0.7195 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.2208, allocations: 143.7 kB / 0.7196 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.2209, allocations: 83.66 kB / 0.7197 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.221, allocations: 4 kB / 0.7197 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-05/0.2211, allocations: 39.89 kB / 0.7197 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.213e-05/0.2212, allocations: 39.78 kB / 0.7198 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.2212, allocations: 8 kB / 0.7198 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.2214, allocations: 83.86 kB / 0.7199 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.2215, allocations: 27.95 kB / 0.7199 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.2215, allocations: 35.8 kB / 0.7199 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.2218, allocations: 131.5 kB / 0.7201 GB, free: 15.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2218, allocations: 4 kB / 0.7201 GB, free: 15.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2218, allocations: 0 / 0.7201 GB, free: 15.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2218, allocations: 0 / 0.7201 GB, free: 15.45 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.0007331/0.2225, allocations: 345.8 kB / 0.7204 GB, free: 15.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2226, allocations: 12.02 kB / 0.7204 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.2226, allocations: 8.891 kB / 0.7204 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.2228, allocations: 146.3 kB / 0.7205 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.2229, allocations: 34.27 kB / 0.7206 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.2229, allocations: 8.375 kB / 0.7206 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.2233, allocations: 114 kB / 0.7207 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2233, allocations: 3.938 kB / 0.7207 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2233, allocations: 0 / 0.7207 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2233, allocations: 3.984 kB / 0.7207 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.2236, allocations: 103.8 kB / 0.7208 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006446/0.2243, allocations: 327.8 kB / 0.7211 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.2246, allocations: 106.5 kB / 0.7212 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.2248, allocations: 68.86 kB / 0.7213 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.2248, allocations: 0 / 0.7213 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.2248, allocations: 34.55 kB / 0.7213 GB, free: 14.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.2248, allocations: 4 kB / 0.7213 GB, free: 14.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0007199/0.2256, allocations: 217.5 kB / 0.7215 GB, free: 13.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.2256, allocations: 59.39 kB / 0.7216 GB, free: 13.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2257, allocations: 127.7 kB / 0.7217 GB, free: 13.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.2258, allocations: 29.7 kB / 0.7217 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.2258, allocations: 100.1 kB / 0.7218 GB, free: 13.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.2259, allocations: 27.73 kB / 0.7219 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.2259, allocations: 21.72 kB / 0.7219 GB, free: 13.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2261, allocations: 326.8 kB / 0.7222 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2263, allocations: 59.89 kB / 0.7222 GB, free: 13.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.2265, allocations: 67.88 kB / 0.7223 GB, free: 12.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.2268, allocations: 124.8 kB / 0.7224 GB, free: 12.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2268, allocations: 0 / 0.7224 GB, free: 12.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004585/0.2273, allocations: 177.5 kB / 0.7226 GB, free: 12.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2273, allocations: 8 kB / 0.7226 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2273, allocations: 0 / 0.7226 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.2274, allocations: 112 / 0.7226 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.2278, allocations: 71.86 kB / 0.7227 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.2278, allocations: 4 kB / 0.7227 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.2279, allocations: 15.92 kB / 0.7227 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.2279, allocations: 4 kB / 0.7227 GB, free: 12.55 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.000117/0.228, allocations: 125.7 kB / 0.7228 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.228, allocations: 7.953 kB / 0.7228 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.2281, allocations: 12.38 kB / 0.7228 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2281, allocations: 0 / 0.7228 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2281, allocations: 8 kB / 0.7228 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2281, allocations: 0 / 0.7228 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.2283, allocations: 180.6 kB / 0.723 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2283, allocations: 0 / 0.723 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.2288, allocations: 63.92 kB / 0.7231 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2288, allocations: 0 / 0.7231 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2288, allocations: 288 / 0.7231 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.2288, allocations: 4 kB / 0.7231 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2288, allocations: 4 kB / 0.7231 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.2295, allocations: 335.2 kB / 0.7234 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.2296, allocations: 11.98 kB / 0.7234 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2296, allocations: 0 / 0.7234 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.2297, allocations: 15.97 kB / 0.7234 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.2298, allocations: 11.98 kB / 0.7234 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.2298, allocations: 4 kB / 0.7234 GB, free: 11.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.716e-05/0.2298, allocations: 97.23 kB / 0.7235 GB, free: 11.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2298, allocations: 0 / 0.7235 GB, free: 11.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002863/0.2301, allocations: 31.94 kB / 0.7236 GB, free: 11.59 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.0002027/0.2303, allocations: 127.2 kB / 0.7237 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004522/0.2308, allocations: 131.8 kB / 0.7238 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2308, allocations: 0 / 0.7238 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.231, allocations: 71.94 kB / 0.7239 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.2313, allocations: 5.875 kB / 0.7239 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.2318, allocations: 248.8 kB / 0.7241 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.2322, allocations: 0.7001 MB / 0.7248 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.2322, allocations: 19.44 kB / 0.7248 GB, free: 10.23 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2322, allocations: 0 / 0.7248 GB, free: 10.23 MB / 0.545 GB Notification: Performance of Templates: time 0.003794/0.236, allocations: 1.582 MB / 0.7264 GB, free: 8.648 MB / 0.545 GB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & ./ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_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_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.71658066404052]