Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json 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.0008254/0.0008254, allocations: 76.41 kB / 22.21 MB, free: 2.285 MB / 18.57 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.0008704/0.0008704, allocations: 168.1 kB / 25.61 MB, free: 8.574 MB / 18.57 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 0.9077/0.9077, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] 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) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.81e-07/6.81e-07, allocations: 0 / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.239e-05, allocations: 2.312 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.001974/0.001987, allocations: 1.856 MB / 276.1 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.003097, allocations: 0.9994 MB / 277.1 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.003157, allocations: 0 / 277.1 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.521e-05/0.003212, allocations: 25.36 kB / 277.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.764e-05/0.00331, allocations: 43.58 kB / 277.1 MB, free: 1.461 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.003687, allocations: 196 kB / 277.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.003853, allocations: 219.9 kB / 277.5 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.003955, allocations: 49.2 kB / 277.6 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.004061, allocations: 139.7 kB / 277.7 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.004379, allocations: 102.1 kB / 277.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.004415, allocations: 20 kB / 277.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.00461, allocations: 159.7 kB / 278 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.004655, allocations: 55.77 kB / 278 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.00471, allocations: 75.8 kB / 278.1 MB, free: 484 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.004975, allocations: 251.1 kB / 278.4 MB, free: 232 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-06/0.004977, allocations: 4 kB / 278.4 MB, free: 228 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.004977, allocations: 0 / 278.4 MB, free: 228 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.004983, allocations: 11.92 kB / 278.4 MB, free: 216 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000629/0.005612, allocations: 0.5748 MB / 279 MB, free: 15.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.005641, allocations: 15.98 kB / 279 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.005787, allocations: 48.78 kB / 279 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.005946, allocations: 200.9 kB / 279.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.005966, allocations: 16.59 kB / 279.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.005995, allocations: 24.36 kB / 279.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.006171, allocations: 123.5 kB / 279.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.00618, allocations: 3.938 kB / 279.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.006193, allocations: 4 kB / 279.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.006198, allocations: 4 kB / 279.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.006272, allocations: 45.08 kB / 279.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.006802, allocations: 484.6 kB / 279.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.007084, allocations: 155.3 kB / 280.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.007132, allocations: 43.66 kB / 280.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.007145, allocations: 0 / 280.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.007256, allocations: 113 kB / 280.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 9.02e-07/0.007256, allocations: 0 / 280.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002426/0.007499, allocations: 169.4 kB / 280.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.007529, allocations: 59.39 kB / 280.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.007645, allocations: 247.1 kB / 280.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.007668, allocations: 37.7 kB / 280.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.007741, allocations: 183.3 kB / 280.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.00778, allocations: 71.41 kB / 281 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.007851, allocations: 79.27 kB / 281 MB, free: 13.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.007954, allocations: 0.504 MB / 281.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.805e-05/0.008012, allocations: 44.28 kB / 281.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.008085, allocations: 78.8 kB / 281.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.008205, allocations: 121 kB / 281.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.008206, allocations: 0 / 281.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002191/0.008425, allocations: 204 kB / 282 MB, free: 12.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.008436, allocations: 7.938 kB / 282 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.00844, allocations: 7.938 kB / 282 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.008448, allocations: 0 / 282 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.008613, allocations: 79.97 kB / 282.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.008617, allocations: 7.938 kB / 282.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.56e-05/0.008692, allocations: 27.88 kB / 282.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.008707, allocations: 12 kB / 282.1 MB, free: 12.26 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.982e-05/0.008807, allocations: 184.4 kB / 282.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.008833, allocations: 23.86 kB / 282.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.00887, allocations: 25.89 kB / 282.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.008872, allocations: 8 kB / 282.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.008875, allocations: 4 kB / 282.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.008879, allocations: 0 / 282.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.009263, allocations: 432.6 kB / 282.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.009264, allocations: 0 / 282.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.009375, allocations: 43.91 kB / 282.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.009377, allocations: 0 / 282.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.009389, allocations: 7.984 kB / 282.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.00939, allocations: 0 / 282.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.009392, allocations: 7.938 kB / 282.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.009643, allocations: 336.2 kB / 283.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.009659, allocations: 15.84 kB / 283.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.00968, allocations: 8 kB / 283.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.009761, allocations: 19.97 kB / 283.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.009794, allocations: 15.98 kB / 283.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.009802, allocations: 11.86 kB / 283.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.244e-05/0.009865, allocations: 176 kB / 283.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009865, allocations: 4 kB / 283.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002153/0.01008, allocations: 67.83 kB / 283.5 MB, free: 10.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003173/0.0104, allocations: 216.2 kB / 283.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.01058, allocations: 127.8 kB / 283.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.01058, allocations: 0 / 283.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.279e-05/0.01064, allocations: 55.58 kB / 283.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01085, allocations: 35.72 kB / 283.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.01128, allocations: 393.5 kB / 284.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.276e-05/0.01133, allocations: 88.03 kB / 284.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.248e-05/0.0114, allocations: 25.62 kB / 284.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.942e-05/0.0115, allocations: 98.19 kB / 284.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0115, allocations: 4 kB / 284.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of Templates: time 0.004813/0.01631, allocations: 3.398 MB / 287.9 MB, free: 6.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.353396034799516]