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.0145/0.0145, allocations: 1.768 MB / 20.6 MB, free: 1.277 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.001395/0.001395, allocations: 99.42 kB / 24.19 MB, free: 2.676 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.001806/0.001806, allocations: 194.2 kB / 27.9 MB, free: 4.031 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.435/1.435, allocations: 225.6 MB / 257.1 MB, free: 10.98 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.054/1.054, allocations: 129.2 MB / 442 MB, free: 14.25 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.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 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: 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.03073/0.03073, allocations: 20.56 MB / 0.6257 GB, free: 13.82 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1914, allocations: 80.48 MB / 0.7043 GB, free: 13.18 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003277/0.1946, allocations: 2.128 MB / 0.7064 GB, free: 11.05 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0008272/0.1955, allocations: 426.5 kB / 0.7068 GB, free: 10.63 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.1955, allocations: 4 kB / 0.7068 GB, free: 10.62 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.1957, allocations: 15.86 kB / 0.7068 GB, free: 10.61 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.1957, allocations: 15.86 kB / 0.7068 GB, free: 10.59 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.1962, allocations: 127.7 kB / 0.7069 GB, free: 10.47 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.0001618/0.1964, allocations: 83.77 kB / 0.707 GB, free: 10.39 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1965, allocations: 11.92 kB / 0.707 GB, free: 10.38 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.1966, allocations: 31.92 kB / 0.707 GB, free: 10.34 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.1967, allocations: 43.81 kB / 0.7071 GB, free: 10.3 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.1967, allocations: 8 kB / 0.7071 GB, free: 10.29 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.1969, allocations: 87.86 kB / 0.7072 GB, free: 10.21 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.1969, allocations: 23.92 kB / 0.7072 GB, free: 10.18 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.197, allocations: 39.78 kB / 0.7072 GB, free: 10.14 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.1972, allocations: 123.6 kB / 0.7074 GB, free: 10.02 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1972, allocations: 3.938 kB / 0.7074 GB, free: 10.02 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.272e-06/0.1972, allocations: 0 / 0.7074 GB, free: 10.02 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 9.037e-06/0.1972, allocations: 0 / 0.7074 GB, free: 10.02 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.0006898/0.1979, allocations: 353.8 kB / 0.7077 GB, free: 9.641 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1979, allocations: 8.625 kB / 0.7077 GB, free: 9.633 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.198, allocations: 8.891 kB / 0.7077 GB, free: 9.625 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1982, allocations: 134.3 kB / 0.7078 GB, free: 9.469 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/0.1982, allocations: 46.25 kB / 0.7079 GB, free: 9.418 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.1983, allocations: 8.359 kB / 0.7079 GB, free: 9.41 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.1986, allocations: 106.2 kB / 0.708 GB, free: 9.301 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1986, allocations: 3.938 kB / 0.708 GB, free: 9.297 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1986, allocations: 8 kB / 0.708 GB, free: 9.289 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1986, allocations: 0 / 0.708 GB, free: 9.289 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.199, allocations: 99.89 kB / 0.7081 GB, free: 9.191 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.1996, allocations: 327.7 kB / 0.7084 GB, free: 8.828 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.1999, allocations: 98.48 kB / 0.7085 GB, free: 8.723 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.2002, allocations: 69 kB / 0.7086 GB, free: 8.652 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.2002, allocations: 15.92 kB / 0.7086 GB, free: 8.637 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.2002, allocations: 34.56 kB / 0.7086 GB, free: 8.594 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.2002, allocations: 0 / 0.7086 GB, free: 8.594 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=8): time 0.0007387/0.201, allocations: 213.4 kB / 0.7088 GB, free: 8.379 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.201, allocations: 59.41 kB / 0.7089 GB, free: 8.309 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.2011, allocations: 120.2 kB / 0.709 GB, free: 8.184 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.2011, allocations: 33.7 kB / 0.709 GB, free: 8.145 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.2012, allocations: 92.12 kB / 0.7091 GB, free: 8.051 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.2012, allocations: 31.73 kB / 0.7092 GB, free: 8.02 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.2012, allocations: 21.72 kB / 0.7092 GB, free: 7.992 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001382/0.2014, allocations: 326.8 kB / 0.7095 GB, free: 7.664 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.2016, allocations: 63.94 kB / 0.7095 GB, free: 7.602 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.2018, allocations: 55.95 kB / 0.7096 GB, free: 7.547 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/0.2023, allocations: 128.7 kB / 0.7097 GB, free: 7.418 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2023, allocations: 4 kB / 0.7097 GB, free: 7.414 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004835/0.2027, allocations: 173.5 kB / 0.7099 GB, free: 7.238 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2028, allocations: 8 kB / 0.7099 GB, free: 7.23 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2028, allocations: 0 / 0.7099 GB, free: 7.23 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2028, allocations: 0 / 0.7099 GB, free: 7.23 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.2032, allocations: 71.92 kB / 0.71 GB, free: 7.16 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2032, allocations: 288 / 0.71 GB, free: 7.16 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.2034, allocations: 23.88 kB / 0.71 GB, free: 7.137 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.2034, allocations: 0 / 0.71 GB, free: 7.137 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 9.682e-05/0.2035, allocations: 125.7 kB / 0.7101 GB, free: 7.004 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.2035, allocations: 11.95 kB / 0.7101 GB, free: 6.992 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.2035, allocations: 16.38 kB / 0.7101 GB, free: 6.973 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2035, allocations: 0 / 0.7101 GB, free: 6.973 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2036, allocations: 0 / 0.7101 GB, free: 6.973 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2036, allocations: 3.938 kB / 0.7101 GB, free: 6.969 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.2038, allocations: 168.6 kB / 0.7103 GB, free: 6.762 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2038, allocations: 0 / 0.7103 GB, free: 6.762 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.2043, allocations: 71.92 kB / 0.7104 GB, free: 6.691 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2043, allocations: 0 / 0.7104 GB, free: 6.691 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2043, allocations: 0 / 0.7104 GB, free: 6.691 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2043, allocations: 0 / 0.7104 GB, free: 6.691 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2043, allocations: 0 / 0.7104 GB, free: 6.691 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007546/0.205, allocations: 339.2 kB / 0.7107 GB, free: 6.344 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.205, allocations: 7.984 kB / 0.7107 GB, free: 6.336 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.2051, allocations: 3.984 kB / 0.7107 GB, free: 6.332 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.2052, allocations: 19.92 kB / 0.7107 GB, free: 6.312 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.2052, allocations: 11.97 kB / 0.7107 GB, free: 6.301 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2053, allocations: 0 / 0.7107 GB, free: 6.301 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 6.206e-05/0.2053, allocations: 103.3 kB / 0.7108 GB, free: 6.199 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 8e-08/0.2053, allocations: 0 / 0.7108 GB, free: 6.199 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002587/0.2056, allocations: 27.94 kB / 0.7109 GB, free: 6.172 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.0001957/0.2058, allocations: 127.1 kB / 0.711 GB, free: 6.039 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0004751/0.2062, allocations: 123.8 kB / 0.7111 GB, free: 5.918 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2062, allocations: 4 kB / 0.7111 GB, free: 5.914 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.2065, allocations: 67.94 kB / 0.7112 GB, free: 5.848 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2068, allocations: 8 kB / 0.7112 GB, free: 5.84 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.2072, allocations: 227.1 kB / 0.7114 GB, free: 5.59 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.2075, allocations: 0.7041 MB / 0.7121 GB, free: 4.859 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 6.314e-05/0.2076, allocations: 11.98 kB / 0.7121 GB, free: 4.848 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.2076, allocations: 11.44 kB / 0.7121 GB, free: 4.836 MB / 0.5294 GB
Notification: Performance of SimCode: time 2.71e-07/0.2076, allocations: 0 / 0.7121 GB, free: 4.836 MB / 0.5294 GB
Notification: Performance of Templates: time 0.004351/0.212, allocations: 1.433 MB / 0.7135 GB, free: 3.414 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","/var/lib/jenkins/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.976886032149196]