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.001144/0.001144, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3692, allocations: 50.54 MB / 409.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003217/0.3724, allocations: 1.873 MB / 411.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.3743, allocations: 1.005 MB / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3744, allocations: 4 kB / 412.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.3746, allocations: 23.62 kB / 412.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.3748, allocations: 35.7 kB / 412.2 MB, free: 14.66 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.0005597/0.3753, allocations: 183.5 kB / 412.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.3756, allocations: 223.4 kB / 412.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.3758, allocations: 64.25 kB / 412.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.3759, allocations: 103.5 kB / 412.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005769/0.3765, allocations: 118.3 kB / 412.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.3765, allocations: 20 kB / 412.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.3768, allocations: 127.8 kB / 413 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.3769, allocations: 55.81 kB / 413.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.377, allocations: 107.4 kB / 413.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.3775, allocations: 290.9 kB / 413.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3775, allocations: 0 / 413.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3775, allocations: 0 / 413.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3775, allocations: 0 / 413.5 MB, free: 13.39 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.001128/0.3786, allocations: 0.5696 MB / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.3787, allocations: 12.03 kB / 414 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.3789, allocations: 40.73 kB / 414.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3792, allocations: 232.9 kB / 414.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.3792, allocations: 16.66 kB / 414.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.3793, allocations: 28.11 kB / 414.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004947/0.3798, allocations: 194.9 kB / 414.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3798, allocations: 0 / 414.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.3799, allocations: 8 kB / 414.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3799, allocations: 0 / 414.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004906/0.3804, allocations: 156.4 kB / 414.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.3815, allocations: 0.5828 MB / 415.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.3826, allocations: 306.7 kB / 415.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.3829, allocations: 108.8 kB / 415.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.3829, allocations: 0 / 415.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004352/0.3834, allocations: 174.6 kB / 415.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.3834, allocations: 0 / 415.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001064/0.3845, allocations: 353.3 kB / 416.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.3845, allocations: 59.39 kB / 416.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.3848, allocations: 222.7 kB / 416.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.3848, allocations: 37.69 kB / 416.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.385, allocations: 136.6 kB / 416.7 MB, free: 9.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.385, allocations: 71.42 kB / 416.7 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.3851, allocations: 69.64 kB / 416.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3853, allocations: 342.8 kB / 417.1 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.3857, allocations: 131.8 kB / 417.3 MB, free: 9.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.3861, allocations: 161.7 kB / 417.4 MB, free: 9.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007095/0.3868, allocations: 275.2 kB / 417.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3868, allocations: 0 / 417.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008215/0.3876, allocations: 379.8 kB / 418.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3877, allocations: 8 kB / 418.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3877, allocations: 0 / 418.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3877, allocations: 0 / 418.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.388, allocations: 79.91 kB / 418.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.388, allocations: 0 / 418.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.3882, allocations: 47.69 kB / 418.2 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.3882, allocations: 12 kB / 418.2 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.0001627/0.3884, allocations: 153.5 kB / 418.3 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.3885, allocations: 19.86 kB / 418.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.3885, allocations: 25.88 kB / 418.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.3885, allocations: 0 / 418.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3885, allocations: 0 / 418.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.3886, allocations: 3.984 kB / 418.4 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.3897, allocations: 0.6191 MB / 419 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3897, allocations: 0 / 419 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.3899, allocations: 43.95 kB / 419.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3899, allocations: 0 / 419.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.39, allocations: 8 kB / 419.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.39, allocations: 3.984 kB / 419.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.39, allocations: 0 / 419.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.3911, allocations: 490.6 kB / 419.6 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.3912, allocations: 100.9 kB / 419.6 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.3913, allocations: 12 kB / 419.7 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.3915, allocations: 24.09 kB / 419.7 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.3915, allocations: 15.98 kB / 419.7 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.3916, allocations: 7.984 kB / 419.7 MB, free: 6.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.3917, allocations: 156.7 kB / 419.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3917, allocations: 0 / 419.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000375/0.3921, allocations: 71.86 kB / 419.9 MB, free: 6.586 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.0005027/0.3926, allocations: 193.2 kB / 420.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008008/0.3934, allocations: 287.6 kB / 420.4 MB, free: 6.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3935, allocations: 0 / 420.4 MB, free: 6.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.3938, allocations: 119.9 kB / 420.5 MB, free: 6.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.3941, allocations: 30.11 kB / 420.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000977/0.3951, allocations: 461.8 kB / 421 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3954, allocations: 0.7398 MB / 421.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.3956, allocations: 29.94 kB / 421.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.3956, allocations: 23.42 kB / 421.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3956, allocations: 0 / 421.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of Templates: time 0.006884/0.4025, allocations: 2.93 MB / 424.7 MB, free: 1.773 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/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:globalSeed.enableNoise,globalSeed.fixedSeed,globalSeed.seed,globalSeed.useAutomaticSeed,mean.actualStartTime,mean.mu,mean.startTime,mean.t_0,mean.t_eps,meanError.u2,meanError_y,noise.actualGlobalSeed,noise.enableNoise,noise.fixedLocalSeed,noise.generateNoise,noise.localSeed,noise.samplePeriod,noise.startTime,noise.useAutomaticLocalSeed,noise.useGlobalSeed,noise.y_max,noise.y_min,noise.y_off,pMean,sigmaError.u2,sigmaError_y,standardDeviation.t_eps,standardDeviation.variance.mu,standardDeviation.variance.t_0,standardDeviation.variance.t_eps,standardDeviation.variance.var,std,theoreticalMean.k,theoreticalMean.y,theoreticalSigma.k,theoreticalSigma.y,theoreticalVariance.significantDigits,theoreticalVariance.u[1],theoreticalVariance.u[2],time,var,variance.mu,variance.t_0,variance.t_eps,variance.var,y_max,y_min