Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.000888/0.000888, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.00206, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006948/0.0006948, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009271/0.001622, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9876/0.9876, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1237/1.111, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.058e-05, allocations: 5.828 kB / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.004061/0.004092, allocations: 1.916 MB / 246.6 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.006518, allocations: 1.297 MB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.006651, allocations: 4 kB / 248 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.006774, allocations: 23.73 kB / 248 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.006909, allocations: 27.67 kB / 248 MB, free: 10.91 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.00113/0.00804, allocations: 290.9 kB / 248.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.008385, allocations: 219.4 kB / 248.5 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.008593, allocations: 54.44 kB / 248.6 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.008873, allocations: 160.5 kB / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006144/0.009487, allocations: 99.94 kB / 248.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.315e-05/0.00955, allocations: 20 kB / 248.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007442/0.01029, allocations: 339.2 kB / 249.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.01037, allocations: 39.88 kB / 249.2 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.375e-05/0.01045, allocations: 51.88 kB / 249.2 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006753/0.01113, allocations: 330.8 kB / 249.6 MB, free: 9.344 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.941e-05/0.01115, allocations: 0 / 249.6 MB, free: 9.344 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.01115, allocations: 0 / 249.6 MB, free: 9.344 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.01116, allocations: 0 / 249.6 MB, free: 9.344 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.001121/0.01229, allocations: 0.5276 MB / 250.1 MB, free: 8.789 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.01233, allocations: 12.02 kB / 250.1 MB, free: 8.777 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003196/0.01265, allocations: 122 kB / 250.2 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.01291, allocations: 174.7 kB / 250.4 MB, free: 8.441 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.01294, allocations: 12.66 kB / 250.4 MB, free: 8.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.013, allocations: 28.36 kB / 250.4 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.01331, allocations: 130.4 kB / 250.6 MB, free: 8.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.01333, allocations: 3.938 kB / 250.6 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.01335, allocations: 7.984 kB / 250.6 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/0.01339, allocations: 11.94 kB / 250.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.01351, allocations: 37.72 kB / 250.6 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009269/0.01444, allocations: 346.2 kB / 251 MB, free: 7.855 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.0149, allocations: 182.2 kB / 251.1 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.085e-05/0.01497, allocations: 44.77 kB / 251.2 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.01499, allocations: 0 / 251.2 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.0152, allocations: 106 kB / 251.3 MB, free: 7.508 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 3.386e-06/0.0152, allocations: 0 / 251.3 MB, free: 7.508 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002996/0.0155, allocations: 116.6 kB / 251.4 MB, free: 7.391 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.01556, allocations: 67.33 kB / 251.5 MB, free: 7.312 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.01572, allocations: 195.1 kB / 251.7 MB, free: 7.109 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.01576, allocations: 45.69 kB / 251.7 MB, free: 7.059 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.01585, allocations: 120.5 kB / 251.8 MB, free: 6.938 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.01592, allocations: 75.36 kB / 251.9 MB, free: 6.863 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.01603, allocations: 65.95 kB / 252 MB, free: 6.793 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.01615, allocations: 338.8 kB / 252.3 MB, free: 6.453 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.01624, allocations: 42.34 kB / 252.3 MB, free: 6.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.01634, allocations: 65.42 kB / 252.4 MB, free: 6.34 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.01659, allocations: 121 kB / 252.5 MB, free: 6.207 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.01659, allocations: 4 kB / 252.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002924/0.01688, allocations: 162.9 kB / 252.7 MB, free: 6.039 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.01691, allocations: 9.25 kB / 252.7 MB, free: 6.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.01692, allocations: 0 / 252.7 MB, free: 6.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.01694, allocations: 0 / 252.7 MB, free: 6.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.01725, allocations: 87.88 kB / 252.8 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.01726, allocations: 7.984 kB / 252.8 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.01739, allocations: 47.69 kB / 252.8 MB, free: 5.891 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.01741, allocations: 12.03 kB / 252.8 MB, free: 5.879 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 0.0001544/0.01757, allocations: 132.6 kB / 253 MB, free: 5.738 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.0176, allocations: 11.98 kB / 253 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.209e-05/0.01766, allocations: 21.97 kB / 253 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01766, allocations: 0 / 253 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01767, allocations: 3.938 kB / 253 MB, free: 5.699 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.01768, allocations: 7.938 kB / 253 MB, free: 5.691 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.01825, allocations: 358.4 kB / 253.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01825, allocations: 0 / 253.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.01839, allocations: 47.89 kB / 253.4 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.01841, allocations: 27.81 kB / 253.4 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01842, allocations: 0 / 253.4 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.01843, allocations: 4 kB / 253.4 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01844, allocations: 0 / 253.4 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01844, allocations: 8 kB / 253.4 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.01872, allocations: 291.1 kB / 253.7 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.01874, allocations: 12 kB / 253.7 MB, free: 4.922 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.01883, allocations: 23.97 kB / 253.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.01887, allocations: 15.95 kB / 253.8 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.01888, allocations: 7.938 kB / 253.8 MB, free: 4.875 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.654e-05/0.01893, allocations: 49.86 kB / 253.8 MB, free: 4.824 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01893, allocations: 0 / 253.8 MB, free: 4.824 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.01924, allocations: 107.7 kB / 253.9 MB, free: 4.719 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.0006318/0.01988, allocations: 306.9 kB / 254.2 MB, free: 4.465 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.02007, allocations: 120.7 kB / 254.4 MB, free: 4.344 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.02009, allocations: 7.984 kB / 254.4 MB, free: 4.336 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.02016, allocations: 55.89 kB / 254.4 MB, free: 4.281 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.02042, allocations: 206.2 kB / 254.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007449/0.02117, allocations: 379.2 kB / 255 MB, free: 3.645 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.02138, allocations: 79.97 kB / 255.1 MB, free: 3.547 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.767e-05/0.02146, allocations: 29.72 kB / 255.1 MB, free: 3.52 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.02157, allocations: 87.34 kB / 255.2 MB, free: 3.434 MB / 250.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02157, allocations: 0 / 255.2 MB, free: 3.434 MB / 250.7 MB Notification: Performance of Templates: time 0.007358/0.02893, allocations: 4.126 MB / 259.3 MB, free: 15.36 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.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.623423439450562]