Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json 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.001028/0.001028, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001478/0.002505, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009738/0.0009738, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002315, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8118/0.8118, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1591/0.971, allocations: 52.48 MB / 238.5 MB, free: 7.602 MB / 234.7 MB " [Timeout remaining time 179] 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) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 239.8 MB, free: 6.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.373e-05, allocations: 3.531 kB / 239.8 MB, free: 6.312 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002829/0.002853, allocations: 1.884 MB / 241.7 MB, free: 4.434 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.004314, allocations: 0.9915 MB / 242.6 MB, free: 3.441 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.879e-05/0.004393, allocations: 0 / 242.6 MB, free: 3.441 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.972e-05/0.004463, allocations: 16.41 kB / 242.7 MB, free: 3.426 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.004569, allocations: 46.11 kB / 242.7 MB, free: 3.383 MB / 234.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0004437/0.005013, allocations: 175.4 kB / 242.9 MB, free: 3.211 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.005213, allocations: 219.4 kB / 243.1 MB, free: 2.996 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.005341, allocations: 54.45 kB / 243.1 MB, free: 2.941 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.005509, allocations: 147.7 kB / 243.3 MB, free: 2.797 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.005911, allocations: 115.6 kB / 243.4 MB, free: 2.699 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.005952, allocations: 24 kB / 243.4 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.006182, allocations: 151.7 kB / 243.6 MB, free: 2.527 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.006233, allocations: 48.62 kB / 243.6 MB, free: 2.48 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.006286, allocations: 47.88 kB / 243.7 MB, free: 2.434 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.006574, allocations: 227.1 kB / 243.9 MB, free: 2.211 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.006585, allocations: 5.094 kB / 243.9 MB, free: 2.207 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.006586, allocations: 0 / 243.9 MB, free: 2.207 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.006595, allocations: 0 / 243.9 MB, free: 2.207 MB / 234.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.0006697/0.007264, allocations: 0.5074 MB / 244.4 MB, free: 1.676 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.007294, allocations: 11.98 kB / 244.4 MB, free: 1.664 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.007486, allocations: 123.3 kB / 244.5 MB, free: 1.527 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.007638, allocations: 163 kB / 244.7 MB, free: 1.34 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.007661, allocations: 24.64 kB / 244.7 MB, free: 1.316 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.007692, allocations: 23.94 kB / 244.7 MB, free: 1.293 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.007875, allocations: 126.9 kB / 244.9 MB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.007882, allocations: 3 kB / 244.9 MB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.007896, allocations: 8 kB / 244.9 MB, free: 1.156 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.007915, allocations: 4 kB / 244.9 MB, free: 1.152 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.007979, allocations: 36.53 kB / 244.9 MB, free: 1.117 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.008466, allocations: 366.5 kB / 245.3 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.008751, allocations: 175.3 kB / 245.4 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.008797, allocations: 38.62 kB / 245.5 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.008817, allocations: 7.938 kB / 245.5 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.008946, allocations: 94.09 kB / 245.6 MB, free: 416 kB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.008947, allocations: 0 / 245.6 MB, free: 416 kB / 234.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001919/0.009139, allocations: 132.5 kB / 245.7 MB, free: 280 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.009173, allocations: 63.34 kB / 245.8 MB, free: 204 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.673e-05/0.00927, allocations: 180.6 kB / 245.9 MB, free: 12 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.009308, allocations: 49.62 kB / 246 MB, free: 15.96 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.009364, allocations: 122.5 kB / 246.1 MB, free: 15.84 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.009403, allocations: 75.34 kB / 246.2 MB, free: 15.76 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.009465, allocations: 65.66 kB / 246.3 MB, free: 15.69 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.009542, allocations: 342.8 kB / 246.6 MB, free: 15.35 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-05/0.009595, allocations: 34.81 kB / 246.6 MB, free: 15.31 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.42e-05/0.009659, allocations: 67.12 kB / 246.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.009775, allocations: 113 kB / 246.8 MB, free: 15.12 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.009777, allocations: 0 / 246.8 MB, free: 15.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002244/0.01, allocations: 167.6 kB / 247 MB, free: 14.95 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.01001, allocations: 4.594 kB / 247 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.01002, allocations: 7.938 kB / 247 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.01003, allocations: 0.5312 kB / 247 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.01028, allocations: 89.56 kB / 247.1 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01028, allocations: 4 kB / 247.1 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.918e-05/0.01038, allocations: 44.25 kB / 247.1 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.0104, allocations: 4.812 kB / 247.1 MB, free: 14.8 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.908e-05/0.0105, allocations: 138.2 kB / 247.3 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.01052, allocations: 15.98 kB / 247.3 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.01057, allocations: 29.89 kB / 247.3 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01057, allocations: 4.031 kB / 247.3 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.01057, allocations: 4 kB / 247.3 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01058, allocations: 0 / 247.3 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.01098, allocations: 368.7 kB / 247.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01098, allocations: 4 kB / 247.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.01114, allocations: 43.95 kB / 247.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.01116, allocations: 19.8 kB / 247.7 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01116, allocations: 4 kB / 247.7 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.01117, allocations: 15.92 kB / 247.7 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01117, allocations: 0 / 247.7 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01118, allocations: 4 kB / 247.8 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.01145, allocations: 292.9 kB / 248 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.01148, allocations: 11.94 kB / 248.1 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.01159, allocations: 23.97 kB / 248.1 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.01162, allocations: 7.984 kB / 248.1 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.01163, allocations: 3.984 kB / 248.1 MB, free: 13.78 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.774e-05/0.01168, allocations: 48.81 kB / 248.1 MB, free: 13.73 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01168, allocations: 4 kB / 248.1 MB, free: 13.73 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.01194, allocations: 67.88 kB / 248.2 MB, free: 13.66 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 (18): * Single equations (assignments): 16 * 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.0004345/0.01238, allocations: 241.2 kB / 248.4 MB, free: 13.47 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.01259, allocations: 126.2 kB / 248.6 MB, free: 13.35 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.0126, allocations: 4 kB / 248.6 MB, free: 13.34 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.01269, allocations: 59.11 kB / 248.6 MB, free: 13.29 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.01297, allocations: 205.9 kB / 248.8 MB, free: 13.05 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.0136, allocations: 378.8 kB / 249.2 MB, free: 12.65 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.235e-05/0.01365, allocations: 79.98 kB / 249.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.537e-05/0.01375, allocations: 33.61 kB / 249.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.01387, allocations: 91.33 kB / 249.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01387, allocations: 0 / 249.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of Templates: time 0.005889/0.01976, allocations: 3.405 MB / 252.8 MB, free: 9.074 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1450292244553566]