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.001266/0.001266, allocations: 107.9 kB / 17.06 MB, free: 6.016 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.001294/0.001294, allocations: 195.9 kB / 18 MB, free: 5.102 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.469/1.469, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 59.91 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3903, 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.003549/0.3938, allocations: 1.838 MB / 402.6 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.3965, allocations: 1.251 MB / 403.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.3966, allocations: 0 / 403.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.3968, allocations: 19.73 kB / 403.8 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.397, allocations: 31.67 kB / 403.9 MB, free: 5.688 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.001119/0.3981, allocations: 311.2 kB / 404.2 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.3984, allocations: 219.5 kB / 404.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.3987, allocations: 60.28 kB / 404.5 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.3988, allocations: 103.5 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006547/0.3995, allocations: 122.6 kB / 404.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.3995, allocations: 24 kB / 404.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.4, allocations: 275.6 kB / 405 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.915e-05/0.4001, allocations: 55.77 kB / 405 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.4002, allocations: 99.45 kB / 405.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.4008, allocations: 384.4 kB / 405.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.4008, allocations: 0 / 405.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4008, allocations: 0 / 405.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.4009, allocations: 0 / 405.5 MB, free: 4.066 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.001288/0.4022, allocations: 0.5699 MB / 406.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4022, allocations: 11.97 kB / 406.1 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.4025, allocations: 40.62 kB / 406.1 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.4028, allocations: 241.3 kB / 406.4 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.4029, allocations: 24.2 kB / 406.4 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/0.4029, allocations: 19.91 kB / 406.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.4035, allocations: 199.6 kB / 406.6 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4035, allocations: 0 / 406.6 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.4035, allocations: 7.938 kB / 406.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.4035, allocations: 4 kB / 406.6 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.404, allocations: 156.1 kB / 406.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.405, allocations: 0.5746 MB / 407.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.4061, allocations: 312.3 kB / 407.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.4064, allocations: 116.8 kB / 407.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.4064, allocations: 3.938 kB / 407.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/0.4069, allocations: 171.2 kB / 407.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.4069, allocations: 0 / 407.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001051/0.4079, allocations: 354.8 kB / 408.3 MB, free: 1.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.408, allocations: 59.41 kB / 408.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.4082, allocations: 203.8 kB / 408.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.4083, allocations: 49.62 kB / 408.6 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.4084, allocations: 124.5 kB / 408.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.4084, allocations: 75.06 kB / 408.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.4086, allocations: 69.69 kB / 408.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.4087, allocations: 338.8 kB / 409.2 MB, free: 188 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.409, allocations: 127.9 kB / 409.3 MB, free: 60 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.4094, allocations: 162.2 kB / 409.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006067/0.41, allocations: 264.6 kB / 409.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.41, allocations: 0 / 409.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008176/0.4108, allocations: 379.1 kB / 410.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4109, allocations: 4 kB / 410.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4109, allocations: 0 / 410.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4109, allocations: 7.938 kB / 410.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.4112, allocations: 67.92 kB / 410.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4112, allocations: 0 / 410.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.4115, allocations: 47.59 kB / 410.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.4115, allocations: 12 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.0001563/0.4117, allocations: 141.6 kB / 410.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.4117, allocations: 27.72 kB / 410.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.432e-05/0.4118, allocations: 21.86 kB / 410.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4118, allocations: 4 kB / 410.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4118, allocations: 0 / 410.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4118, allocations: 3.938 kB / 410.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.413, allocations: 0.6327 MB / 411 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.413, allocations: 3.938 kB / 411 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.4133, allocations: 51.95 kB / 411.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4133, allocations: 0 / 411.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.4133, allocations: 0 / 411.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4133, allocations: 4 kB / 411.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4133, allocations: 7.938 kB / 411.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.4143, allocations: 494.4 kB / 411.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.4144, allocations: 100.8 kB / 411.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.4145, allocations: 8.062 kB / 411.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.4146, allocations: 19.97 kB / 411.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.4147, allocations: 11.98 kB / 411.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.4147, allocations: 7.984 kB / 411.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.4149, allocations: 147.2 kB / 411.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4149, allocations: 4 kB / 411.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000467/0.4153, 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.0006584/0.416, allocations: 257.6 kB / 412.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007848/0.4168, allocations: 287.8 kB / 412.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4168, allocations: 0 / 412.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.4171, allocations: 115.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.0003597/0.4175, allocations: 24.12 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.001043/0.4186, allocations: 458.6 kB / 413.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.419, allocations: 0.7398 MB / 413.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.4191, allocations: 29.92 kB / 413.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/0.4192, allocations: 27.42 kB / 413.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4192, allocations: 4 kB / 413.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of Templates: time 0.007631/0.4268, allocations: 3.619 MB / 417.5 MB, free: 7.691 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