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/SMArtIInt 0.1.1-Release_Dymola_2023x_Refresh_1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.1.1-Release_Dymola_2023x_Refresh_1/package.mo): time 0.008216/0.008216, allocations: 1.427 MB / 20.25 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 97.59 kB / 23.77 MB, free: 3.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 194.8 kB / 27.4 MB, free: 4.727 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 256.5 MB, free: 11.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/package.mo): time 1.049/1.049, allocations: 129.1 MB / 441.2 MB, free: 14.62 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/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package SMArtIInt with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.1.1-Release_Dymola_2023x_Refresh_1/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] "Warning: Requested package SMArtIInt of version 0.2.2, but this package was already loaded with version 0.1.1. There are no conversion annotations for this version but 0.2.2 is newer than 0.1.1. There is a possibility that 0.1.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. 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.03124/0.03124, allocations: 20.82 MB / 0.625 GB, free: 13.96 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.2205, allocations: 80.38 MB / 0.7035 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003483/0.224, allocations: 2.139 MB / 0.7056 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009194/0.2249, allocations: 430.6 kB / 0.706 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.2249, allocations: 4 kB / 0.706 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.2251, allocations: 7.875 kB / 0.706 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.327e-05/0.2251, allocations: 7.875 kB / 0.706 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.2257, allocations: 135.7 kB / 0.7061 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.2258, allocations: 79.77 kB / 0.7062 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.2259, allocations: 8 kB / 0.7062 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.657e-05/0.226, allocations: 39.84 kB / 0.7063 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.648e-05/0.2261, allocations: 39.83 kB / 0.7063 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2261, allocations: 8 kB / 0.7063 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.2263, allocations: 79.92 kB / 0.7064 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.84e-05/0.2264, allocations: 35.91 kB / 0.7064 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.2264, allocations: 35.8 kB / 0.7065 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.2267, allocations: 131.4 kB / 0.7066 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2267, allocations: 0 / 0.7066 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2267, allocations: 0 / 0.7066 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.2267, allocations: 3.984 kB / 0.7066 GB, free: 10.33 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.0008201/0.2275, allocations: 337.9 kB / 0.7069 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2275, allocations: 19.97 kB / 0.7069 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.2276, allocations: 16.88 kB / 0.7069 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.2278, allocations: 137 kB / 0.7071 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/0.2279, allocations: 30.27 kB / 0.7071 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.2279, allocations: 8.375 kB / 0.7071 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.2282, allocations: 110.1 kB / 0.7072 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2282, allocations: 3.938 kB / 0.7072 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2282, allocations: 4 kB / 0.7072 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2282, allocations: 4 kB / 0.7072 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.2286, allocations: 99.89 kB / 0.7073 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/0.2293, allocations: 327.8 kB / 0.7076 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.2296, allocations: 102.6 kB / 0.7077 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.2298, allocations: 72.88 kB / 0.7078 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.2298, allocations: 8 kB / 0.7078 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.2298, allocations: 30.56 kB / 0.7078 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2298, allocations: 0 / 0.7078 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.000708/0.2305, allocations: 217.4 kB / 0.708 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.2306, allocations: 55.41 kB / 0.7081 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.2307, allocations: 129.8 kB / 0.7082 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.2307, allocations: 25.7 kB / 0.7082 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.2308, allocations: 96.12 kB / 0.7083 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.2308, allocations: 31.73 kB / 0.7084 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.2309, allocations: 29.7 kB / 0.7084 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.231, allocations: 314.8 kB / 0.7087 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.2312, allocations: 67.94 kB / 0.7088 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.2314, allocations: 59.94 kB / 0.7088 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.2318, allocations: 128.7 kB / 0.7089 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2318, allocations: 4.188 kB / 0.7089 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004312/0.2322, allocations: 169.5 kB / 0.7091 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2322, allocations: 4 kB / 0.7091 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2322, allocations: 0 / 0.7091 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.2322, allocations: 0 / 0.7091 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.2326, allocations: 75.86 kB / 0.7092 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.2326, allocations: 0 / 0.7092 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.2328, allocations: 23.92 kB / 0.7092 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.2328, allocations: 4 kB / 0.7092 GB, free: 7.445 MB / 0.5294 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.0001077/0.2329, allocations: 117.8 kB / 0.7093 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.2329, allocations: 11.95 kB / 0.7093 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.233, allocations: 8.375 kB / 0.7093 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.233, allocations: 4 kB / 0.7093 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.233, allocations: 3.984 kB / 0.7093 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.233, allocations: 0 / 0.7093 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.2332, allocations: 164.6 kB / 0.7095 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2332, allocations: 0 / 0.7095 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.2336, allocations: 71.86 kB / 0.7096 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2336, allocations: 0 / 0.7096 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.2337, allocations: 8 kB / 0.7096 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2337, allocations: 0 / 0.7096 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2337, allocations: 3.938 kB / 0.7096 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007412/0.2344, allocations: 343.2 kB / 0.7099 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.2344, allocations: 11.89 kB / 0.7099 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.2344, allocations: 4.031 kB / 0.7099 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.2346, allocations: 11.98 kB / 0.7099 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.2346, allocations: 7.984 kB / 0.7099 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.2346, allocations: 4 kB / 0.71 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.2347, allocations: 106.4 kB / 0.7101 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2347, allocations: 0 / 0.7101 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000293/0.235, allocations: 31.94 kB / 0.7101 GB, free: 6.48 MB / 0.5294 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.000215/0.2352, allocations: 123.1 kB / 0.7102 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.2357, allocations: 131.9 kB / 0.7103 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2357, allocations: 288 / 0.7103 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.2359, allocations: 68.27 kB / 0.7104 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.2362, allocations: 11.94 kB / 0.7104 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.2368, allocations: 231.2 kB / 0.7106 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.2372, allocations: 0.6963 MB / 0.7113 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.387e-05/0.2373, allocations: 15.98 kB / 0.7113 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.2373, allocations: 19.42 kB / 0.7113 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.2373, allocations: 0 / 0.7113 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of Templates: time 0.004858/0.2422, allocations: 1.422 MB / 0.7127 GB, free: 3.719 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","/var/lib/jenkins/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: 5.948349308222532]