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.01495/0.01495, allocations: 1.337 MB / 21.02 MB, free: 0.6094 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.001659/0.001659, allocations: 84.16 kB / 24.58 MB, free: 1.879 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.002105/0.002105, allocations: 164.8 kB / 28.25 MB, free: 3.141 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: 177.2 MB / 209 MB, free: 7.641 MB / 190.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.006/1.006, allocations: 102.5 MB / 368.3 MB, free: 4.176 MB / 334.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.06803/0.06803, allocations: 20.96 MB / 0.5569 GB, free: 4.941 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.2249, allocations: 81.87 MB / 0.6368 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003576/0.2284, allocations: 2.117 MB / 0.6389 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009082/0.2294, allocations: 418.6 kB / 0.6393 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.2294, allocations: 4 kB / 0.6393 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.2295, allocations: 11.86 kB / 0.6393 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.2296, allocations: 11.86 kB / 0.6393 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.2301, allocations: 143.5 kB / 0.6395 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.2302, allocations: 75.78 kB / 0.6395 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.2303, allocations: 11.98 kB / 0.6396 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.403e-05/0.2304, allocations: 39.84 kB / 0.6396 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.727e-05/0.2305, allocations: 35.83 kB / 0.6396 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.2305, allocations: 8 kB / 0.6396 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.2307, allocations: 87.86 kB / 0.6397 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.2308, allocations: 19.92 kB / 0.6397 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.2308, allocations: 31.84 kB / 0.6398 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.2311, allocations: 127.6 kB / 0.6399 GB, free: 15.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2311, allocations: 0 / 0.6399 GB, free: 15.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2311, allocations: 0 / 0.6399 GB, free: 15.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2311, allocations: 7.922 kB / 0.6399 GB, free: 15.79 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.0006959/0.2318, allocations: 349.8 kB / 0.6402 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.2318, allocations: 8.031 kB / 0.6402 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.2318, allocations: 8.891 kB / 0.6402 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.232, allocations: 134.3 kB / 0.6404 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/0.2321, allocations: 42.2 kB / 0.6404 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.2321, allocations: 4.375 kB / 0.6404 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.2325, allocations: 106.2 kB / 0.6405 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2325, allocations: 3.938 kB / 0.6405 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.2325, allocations: 8 kB / 0.6405 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2325, allocations: 0 / 0.6405 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.2329, allocations: 99.89 kB / 0.6406 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.2335, allocations: 288.3 kB / 0.6409 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.2338, allocations: 102.5 kB / 0.641 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.234, allocations: 73 kB / 0.6411 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.234, allocations: 3.938 kB / 0.6411 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.2341, allocations: 42.5 kB / 0.6411 GB, free: 14.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2341, allocations: 0 / 0.6411 GB, free: 14.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0007624/0.2348, allocations: 217.5 kB / 0.6413 GB, free: 14.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2349, allocations: 51.41 kB / 0.6414 GB, free: 14.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.235, allocations: 132.2 kB / 0.6415 GB, free: 14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.235, allocations: 29.7 kB / 0.6415 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.2351, allocations: 96.03 kB / 0.6416 GB, free: 13.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.2351, allocations: 31.8 kB / 0.6416 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.2352, allocations: 29.7 kB / 0.6417 GB, free: 13.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2353, allocations: 322.8 kB / 0.642 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.2355, allocations: 59.94 kB / 0.642 GB, free: 13.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.2358, allocations: 59.89 kB / 0.6421 GB, free: 13.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.2362, allocations: 128.8 kB / 0.6422 GB, free: 13.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2362, allocations: 0 / 0.6422 GB, free: 13.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004961/0.2367, allocations: 173.6 kB / 0.6424 GB, free: 13.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2367, allocations: 6.5 kB / 0.6424 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2367, allocations: 4 kB / 0.6424 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2367, allocations: 4 kB / 0.6424 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.2372, allocations: 67.92 kB / 0.6425 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2372, allocations: 4 kB / 0.6425 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.2373, allocations: 23.91 kB / 0.6425 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.2373, allocations: 0 / 0.6425 GB, free: 12.95 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.0001129/0.2374, allocations: 125.7 kB / 0.6426 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.2375, allocations: 7.953 kB / 0.6426 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.2375, allocations: 16.44 kB / 0.6426 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2375, allocations: 0 / 0.6426 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2375, allocations: 0 / 0.6426 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2375, allocations: 3.984 kB / 0.6426 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.2377, allocations: 137.2 kB / 0.6428 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2377, allocations: 0 / 0.6428 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.2382, allocations: 63.94 kB / 0.6428 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.2382, allocations: 3.984 kB / 0.6428 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.2383, allocations: 8 kB / 0.6428 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2383, allocations: 0 / 0.6428 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2383, allocations: 0 / 0.6428 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008133/0.2391, allocations: 339.2 kB / 0.6432 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.2391, allocations: 7.984 kB / 0.6432 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2391, allocations: 0 / 0.6432 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.2393, allocations: 19.97 kB / 0.6432 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.2393, allocations: 7.984 kB / 0.6432 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.2393, allocations: 0 / 0.6432 GB, free: 12.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.819e-05/0.2394, allocations: 103.2 kB / 0.6433 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2394, allocations: 0 / 0.6433 GB, free: 12.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003196/0.2397, allocations: 28 kB / 0.6433 GB, free: 12.04 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.0001979/0.2399, allocations: 127.2 kB / 0.6434 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005165/0.2404, allocations: 127.8 kB / 0.6436 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2404, allocations: 0 / 0.6436 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.2407, allocations: 67.94 kB / 0.6436 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.241, allocations: 12.22 kB / 0.6436 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.2415, allocations: 227.1 kB / 0.6439 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.829e-05/0.2416, allocations: 83.73 kB / 0.6439 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.977e-05/0.2417, allocations: 19.98 kB / 0.644 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.2417, allocations: 12.5 kB / 0.644 GB, free: 11.32 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2417, allocations: 0 / 0.644 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Templates: time 0.00467/0.2464, allocations: 1.456 MB / 0.6454 GB, free: 9.887 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 -s ida -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.665992870926857]