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.0007434/0.0007434, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001759, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007034/0.0007034, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008762/0.00158, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9858/0.9858, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09548/1.081, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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 1.553e-06/1.553e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.794e-05, allocations: 6.25 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003015/0.003043, allocations: 1.919 MB / 246.5 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005786/0.008829, allocations: 1.024 MB / 247.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.008937, allocations: 0 / 247.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.538e-05/0.009023, allocations: 23.73 kB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.009161, allocations: 39.64 kB / 247.5 MB, free: 11.27 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.0005685/0.009729, allocations: 179.2 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.009975, allocations: 215.4 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.01011, allocations: 54.5 kB / 248 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.01338, allocations: 156.6 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004603/0.01384, allocations: 116.3 kB / 248.3 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.0139, allocations: 20 kB / 248.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.01425, allocations: 159.6 kB / 248.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.01431, allocations: 39.88 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.964e-05/0.01438, allocations: 47.88 kB / 248.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.01479, allocations: 231.1 kB / 248.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.682e-05/0.01481, allocations: 0 / 248.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01481, allocations: 0 / 248.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.01482, allocations: 0 / 248.7 MB, free: 10.09 MB / 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.0008274/0.01565, allocations: 0.4966 MB / 249.2 MB, free: 9.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.01568, allocations: 11.98 kB / 249.2 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.01589, allocations: 122 kB / 249.4 MB, free: 9.418 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.0191, allocations: 178.7 kB / 249.5 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.01913, allocations: 12.66 kB / 249.6 MB, free: 9.203 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.01917, allocations: 24.38 kB / 249.6 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.0194, allocations: 134.9 kB / 249.7 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.01941, allocations: 3.938 kB / 249.7 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.01942, allocations: 4 kB / 249.7 MB, free: 9.035 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.01943, allocations: 4 kB / 249.7 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.01952, allocations: 37.94 kB / 249.8 MB, free: 8.996 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.02012, allocations: 350.2 kB / 250.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.02047, allocations: 186.3 kB / 250.3 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.02052, allocations: 28.84 kB / 250.3 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.02054, allocations: 4 kB / 250.3 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.02069, allocations: 94.09 kB / 250.4 MB, free: 8.305 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.02069, allocations: 0 / 250.4 MB, free: 8.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002297/0.02092, allocations: 117.6 kB / 250.5 MB, free: 8.184 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.02096, allocations: 63.33 kB / 250.6 MB, free: 8.109 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.0211, allocations: 203.1 kB / 250.8 MB, free: 7.898 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.02113, allocations: 41.69 kB / 250.8 MB, free: 7.852 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.02119, allocations: 128.5 kB / 250.9 MB, free: 7.723 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.02124, allocations: 79.28 kB / 251 MB, free: 7.645 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/0.02132, allocations: 69.95 kB / 251.1 MB, free: 7.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.02141, allocations: 330.8 kB / 251.4 MB, free: 7.238 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.02148, allocations: 46.34 kB / 251.5 MB, free: 7.191 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.02156, allocations: 61.66 kB / 251.5 MB, free: 7.125 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.02171, allocations: 121 kB / 251.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.02172, allocations: 8 kB / 251.6 MB, free: 6.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002167/0.02193, allocations: 162.9 kB / 251.8 MB, free: 6.824 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.02195, allocations: 4 kB / 251.8 MB, free: 6.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.02195, allocations: 4 kB / 251.8 MB, free: 6.816 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.02196, allocations: 0 / 251.8 MB, free: 6.816 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.02221, allocations: 91.86 kB / 251.9 MB, free: 6.727 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.02222, allocations: 11.92 kB / 251.9 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.02231, allocations: 31.83 kB / 251.9 MB, free: 6.684 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.02233, allocations: 12.02 kB / 252 MB, free: 6.672 MB / 250.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.924e-05/0.02243, allocations: 132.6 kB / 252.1 MB, free: 6.531 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.02245, allocations: 15.98 kB / 252.1 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.0225, allocations: 25.89 kB / 252.1 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.0225, allocations: 0 / 252.1 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.0225, allocations: 3.938 kB / 252.1 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.0225, allocations: 0 / 252.1 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.02289, allocations: 372.9 kB / 252.5 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02289, allocations: 0 / 252.5 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.02306, allocations: 47.89 kB / 252.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.02308, allocations: 19.84 kB / 252.6 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.02308, allocations: 0 / 252.6 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.0231, allocations: 4 kB / 252.6 MB, free: 6.031 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.0231, allocations: 0 / 252.6 MB, free: 6.031 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.0231, allocations: 3.938 kB / 252.6 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.02337, allocations: 292 kB / 252.9 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.0234, allocations: 12 kB / 252.9 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.0235, allocations: 19.97 kB / 252.9 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.02355, allocations: 19.97 kB / 252.9 MB, free: 5.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.02356, allocations: 4 kB / 252.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.02361, allocations: 53.84 kB / 253 MB, free: 5.617 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02361, allocations: 0 / 253 MB, free: 5.617 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.0239, allocations: 71.88 kB / 253 MB, free: 5.547 MB / 250.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.0004578/0.02435, allocations: 223.9 kB / 253.3 MB, free: 5.375 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.02456, allocations: 113.1 kB / 253.4 MB, free: 5.262 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.02457, allocations: 0 / 253.4 MB, free: 5.262 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.363e-05/0.02464, allocations: 56.83 kB / 253.4 MB, free: 5.203 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.02501, allocations: 35.98 kB / 253.5 MB, free: 5.168 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007324/0.02574, allocations: 391.2 kB / 253.8 MB, free: 4.758 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.241e-05/0.02579, allocations: 79.84 kB / 253.9 MB, free: 4.66 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.02589, allocations: 37.55 kB / 253.9 MB, free: 4.625 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.02601, allocations: 87.33 kB / 254 MB, free: 4.539 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02601, allocations: 0 / 254 MB, free: 4.539 MB / 250.7 MB Notification: Performance of Templates: time 0.006125/0.03214, allocations: 3.334 MB / 257.4 MB, free: 1.246 MB / 250.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 -ignoreHideResult -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.3365698494017124]