Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.NormalNoiseProperties,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_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 109.9 kB / 17.06 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 191 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.00115, allocations: 55.92 kB / 351.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3746, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.004182/0.3789, allocations: 1.847 MB / 402.6 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.3818, allocations: 1.247 MB / 403.8 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.382, allocations: 8 kB / 403.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.3822, allocations: 19.73 kB / 403.9 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.3823, allocations: 23.73 kB / 403.9 MB, free: 5.691 MB / 318.1 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.001046/0.3834, allocations: 311.1 kB / 404.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.3837, allocations: 223.5 kB / 404.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.3839, allocations: 64.27 kB / 404.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3841, allocations: 99.61 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006357/0.3847, allocations: 119.5 kB / 404.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.3848, allocations: 20 kB / 404.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004856/0.3853, allocations: 271.6 kB / 405 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.996e-05/0.3854, allocations: 63.75 kB / 405 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.3855, allocations: 103.5 kB / 405.1 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.3861, allocations: 380.4 kB / 405.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3861, allocations: 7.938 kB / 405.5 MB, free: 4.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3861, allocations: 0 / 405.5 MB, free: 4.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3861, allocations: 0 / 405.5 MB, free: 4.059 MB / 318.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.001148/0.3872, allocations: 0.5659 MB / 406.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3873, allocations: 12.03 kB / 406.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.3875, allocations: 32.64 kB / 406.1 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.3878, allocations: 249.3 kB / 406.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.3879, allocations: 16.22 kB / 406.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.3879, allocations: 23.91 kB / 406.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.3884, allocations: 207.5 kB / 406.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3884, allocations: 0 / 406.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.3884, allocations: 4 kB / 406.6 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3884, allocations: 4 kB / 406.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.3889, allocations: 156.1 kB / 406.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.3899, allocations: 0.5668 MB / 407.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.3909, allocations: 304.9 kB / 407.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.3912, allocations: 116.8 kB / 407.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.3913, allocations: 4 kB / 407.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.3917, allocations: 168.6 kB / 407.9 MB, free: 1.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.3917, allocations: 4 kB / 407.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009833/0.3927, allocations: 359.6 kB / 408.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.3927, allocations: 55.41 kB / 408.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.393, allocations: 207.8 kB / 408.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.393, allocations: 45.75 kB / 408.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.3932, allocations: 128.5 kB / 408.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.3933, allocations: 74.94 kB / 408.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3934, allocations: 61.69 kB / 408.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3935, allocations: 342.8 kB / 409.2 MB, free: 196 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.3938, allocations: 131.9 kB / 409.3 MB, free: 64 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.3942, allocations: 154.2 kB / 409.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.3948, allocations: 268.6 kB / 409.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3948, allocations: 0 / 409.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007646/0.3956, allocations: 379.1 kB / 410.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3956, allocations: 8 kB / 410.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3956, allocations: 0 / 410.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3956, allocations: 0 / 410.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.3959, allocations: 71.81 kB / 410.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.396, allocations: 11.97 kB / 410.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.3961, allocations: 43.61 kB / 410.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.3962, allocations: 15.98 kB / 410.2 MB, free: 15.12 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.0001499/0.3963, allocations: 141.6 kB / 410.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.3964, allocations: 19.72 kB / 410.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.512e-05/0.3964, allocations: 29.86 kB / 410.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.3964, allocations: 4 kB / 410.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.3965, allocations: 4 kB / 410.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3965, allocations: 3.938 kB / 410.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3976, allocations: 0.6308 MB / 411 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3976, allocations: 0 / 411 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.3978, allocations: 43.95 kB / 411.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3978, allocations: 0 / 411.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.3979, allocations: 4 kB / 411.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3979, allocations: 0 / 411.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3979, allocations: 3.984 kB / 411.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/0.3988, allocations: 495.3 kB / 411.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.3989, allocations: 100.8 kB / 411.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.399, allocations: 8.062 kB / 411.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.3991, allocations: 19.98 kB / 411.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.3992, allocations: 15.95 kB / 411.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.3992, allocations: 8 kB / 411.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.3994, allocations: 147.2 kB / 411.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3994, allocations: 0 / 411.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.3998, allocations: 104 kB / 412 MB, free: 13.25 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 (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.0006041/0.4004, allocations: 270.5 kB / 412.2 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007297/0.4012, allocations: 286.6 kB / 412.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4012, allocations: 64 / 412.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.4015, allocations: 119.9 kB / 412.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.4018, allocations: 27.2 kB / 412.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009358/0.4028, allocations: 457.2 kB / 413.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.4031, allocations: 0.7359 MB / 413.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.4032, allocations: 33.94 kB / 413.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.4033, allocations: 23.44 kB / 413.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4033, allocations: 3.938 kB / 413.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of Templates: time 0.007326/0.4107, allocations: 3.619 MB / 417.5 MB, free: 7.688 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches