Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00171/0.00171, allocations: 118.4 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002243/0.002243, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.554/2.554, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5195/0.5216, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.004696/0.5263, allocations: 1.871 MB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003409/0.5298, allocations: 1.009 MB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.53, allocations: 3.938 kB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.5303, allocations: 19.73 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.5307, allocations: 39.66 kB / 412.9 MB, free: 14.64 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001008/0.5317, allocations: 171.6 kB / 413.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000391/0.5321, allocations: 223.4 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.5324, allocations: 68.25 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.5326, allocations: 103.6 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008396/0.5334, allocations: 123 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.488e-05/0.5335, allocations: 24 kB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.5339, allocations: 119.8 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.534, allocations: 67.75 kB / 413.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.5342, allocations: 91.47 kB / 413.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.5347, allocations: 294.7 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.5348, allocations: 4 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.5348, allocations: 0 / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.5348, allocations: 0 / 414.1 MB, free: 13.38 MB / 334.1 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.001809/0.5366, allocations: 0.5597 MB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.5367, allocations: 12.03 kB / 414.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003518/0.537, allocations: 36.64 kB / 414.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.5375, allocations: 240.8 kB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/0.5376, allocations: 16.66 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-05/0.5377, allocations: 24.12 kB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008669/0.5385, allocations: 190.9 kB / 415.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.5386, allocations: 4 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.5386, allocations: 8 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.5387, allocations: 4 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009284/0.5396, allocations: 156.4 kB / 415.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.5415, allocations: 0.5749 MB / 416 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.5435, allocations: 306.6 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000627/0.5442, allocations: 112.8 kB / 416.4 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.5442, allocations: 7.969 kB / 416.4 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007794/0.545, allocations: 155.3 kB / 416.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 5.671e-06/0.5451, allocations: 0 / 416.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.002093/0.5472, allocations: 372.4 kB / 416.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.5473, allocations: 59.41 kB / 417 MB, free: 10.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.5477, allocations: 222.7 kB / 417.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/0.5478, allocations: 41.69 kB / 417.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.5479, allocations: 128.5 kB / 417.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.548, allocations: 71.08 kB / 417.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.5482, allocations: 69.69 kB / 417.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.5483, allocations: 334.8 kB / 417.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.5489, allocations: 131.9 kB / 417.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.5494, allocations: 161.7 kB / 418.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/0.5504, allocations: 279.1 kB / 418.4 MB, free: 8.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5504, allocations: 0 / 418.4 MB, free: 8.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00138/0.5518, allocations: 375.7 kB / 418.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.5519, allocations: 4 kB / 418.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5519, allocations: 0 / 418.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.5519, allocations: 7.938 kB / 418.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/0.5525, allocations: 71.88 kB / 418.8 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.5525, allocations: 4 kB / 418.8 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.5528, allocations: 47.62 kB / 418.9 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.5529, allocations: 12 kB / 418.9 MB, free: 8.418 MB / 334.1 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,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,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.0002695/0.5532, allocations: 149.6 kB / 419 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.149e-05/0.5533, allocations: 19.72 kB / 419 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.5534, allocations: 21.88 kB / 419.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5534, allocations: 0 / 419.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.5534, allocations: 4 kB / 419.1 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.5535, allocations: 7.984 kB / 419.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.5555, allocations: 0.6113 MB / 419.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5555, allocations: 4 kB / 419.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004913/0.556, allocations: 39.95 kB / 419.7 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.556, allocations: 3.938 kB / 419.7 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.5561, allocations: 11.98 kB / 419.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5561, allocations: 0 / 419.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5561, allocations: 0 / 419.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.5581, allocations: 485.4 kB / 420.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.5583, allocations: 100.8 kB / 420.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.5584, allocations: 24 kB / 420.3 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.5587, allocations: 19.97 kB / 420.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.5588, allocations: 11.98 kB / 420.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.5589, allocations: 7.984 kB / 420.4 MB, free: 6.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000254/0.5592, allocations: 156.7 kB / 420.5 MB, free: 6.664 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5592, allocations: 0 / 420.5 MB, free: 6.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006817/0.5599, allocations: 67.92 kB / 420.6 MB, free: 6.598 MB / 334.1 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.0007334/0.5606, allocations: 197.2 kB / 420.8 MB, free: 6.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.5621, allocations: 287.7 kB / 421.1 MB, free: 6.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.5621, allocations: 0 / 421.1 MB, free: 6.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006379/0.5628, allocations: 118.4 kB / 421.2 MB, free: 6.023 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.5634, allocations: 34.11 kB / 421.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.5653, allocations: 476.3 kB / 421.7 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.5658, allocations: 0.7437 MB / 422.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.566, allocations: 23.44 kB / 422.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of SimCode: time 1.243e-06/0.566, allocations: 0 / 422.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of Templates: time 0.01119/0.5772, allocations: 3.413 MB / 425.9 MB, free: 1.289 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.mu,standardDeviation.variance.mu,standardDeviation.variance.var,variance.mu,variance.var,meanError_y,sigmaError_y Variables in the result:mean.mu,meanError_y,sigmaError_y,standardDeviation.variance.mu,standardDeviation.variance.var,time,variance.mu,variance.var