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.001285/0.001285, allocations: 112.6 kB / 17.74 MB, free: 5.227 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.001332/0.001332, allocations: 184.5 kB / 18.67 MB, free: 4.309 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.411/1.411, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 51.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2909, allocations: 49.43 MB / 401.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003019/0.294, allocations: 1.855 MB / 403.3 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.2962, allocations: 1.251 MB / 404.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.2963, allocations: 0 / 404.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.2964, allocations: 15.75 kB / 404.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.2966, allocations: 27.73 kB / 404.6 MB, free: 5.871 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.001019/0.2976, allocations: 315.1 kB / 404.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.2979, allocations: 215.5 kB / 405.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.2981, allocations: 64.27 kB / 405.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.2982, allocations: 99.61 kB / 405.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006122/0.2989, allocations: 119 kB / 405.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.2989, allocations: 23.94 kB / 405.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005071/0.2994, allocations: 279.5 kB / 405.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.939e-05/0.2995, allocations: 59.77 kB / 405.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.2997, allocations: 99.44 kB / 405.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000629/0.3003, allocations: 390.8 kB / 406.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3003, allocations: 0 / 406.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3003, allocations: 0 / 406.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.3003, allocations: 0 / 406.2 MB, free: 4.242 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.001194/0.3015, allocations: 0.5677 MB / 406.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3016, allocations: 8.031 kB / 406.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.3018, allocations: 36.64 kB / 406.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.3021, allocations: 241.3 kB / 407 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.3022, allocations: 12.28 kB / 407 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.3022, allocations: 31.89 kB / 407.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.3027, allocations: 199.5 kB / 407.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3028, allocations: 3.938 kB / 407.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.3028, allocations: 4 kB / 407.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.3028, allocations: 4 kB / 407.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/0.3033, allocations: 160.1 kB / 407.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.3043, allocations: 0.5707 MB / 408 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.3054, allocations: 302.7 kB / 408.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.3057, allocations: 112.8 kB / 408.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3057, allocations: 4 kB / 408.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003994/0.3061, allocations: 172.6 kB / 408.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.974e-06/0.3062, allocations: 0 / 408.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009942/0.3072, allocations: 357.8 kB / 408.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.3072, allocations: 63.41 kB / 409 MB, free: 1.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.3075, allocations: 207.8 kB / 409.2 MB, free: 1.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.3075, allocations: 37.7 kB / 409.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/0.3076, allocations: 132.6 kB / 409.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.3077, allocations: 71 kB / 409.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3078, allocations: 69.69 kB / 409.5 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.3079, allocations: 334.8 kB / 409.8 MB, free: 388 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.3083, allocations: 135.8 kB / 410 MB, free: 252 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.3086, allocations: 162.2 kB / 410.1 MB, free: 84 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/0.3093, allocations: 268.6 kB / 410.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3093, allocations: 3.938 kB / 410.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008219/0.3101, allocations: 375.1 kB / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3102, allocations: 4 kB / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3102, allocations: 4.031 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3102, allocations: 4 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.3105, allocations: 71.88 kB / 410.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3105, allocations: 0 / 410.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.3107, allocations: 47.55 kB / 410.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.3108, allocations: 15.98 kB / 410.9 MB, free: 15.3 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.0001582/0.3109, allocations: 141.6 kB / 411 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.311, allocations: 23.7 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.228e-05/0.3111, allocations: 21.88 kB / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.3111, allocations: 4 kB / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3111, allocations: 0 / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3111, allocations: 3.938 kB / 411.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.3122, allocations: 0.6308 MB / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3123, allocations: 0 / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.3125, allocations: 43.95 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3125, allocations: 4 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.3126, allocations: 4 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.3126, allocations: 7.984 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3126, allocations: 0 / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.3136, allocations: 494.3 kB / 412.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.3137, allocations: 100.8 kB / 412.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.3138, allocations: 16.05 kB / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.3139, allocations: 15.97 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.314, allocations: 19.98 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.314, allocations: 4 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.3142, allocations: 147.2 kB / 412.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3142, allocations: 0 / 412.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.3146, allocations: 99.98 kB / 412.7 MB, free: 13.43 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.0006327/0.3153, allocations: 259.8 kB / 412.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007766/0.316, allocations: 290.6 kB / 413.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3161, allocations: 0 / 413.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.3164, allocations: 111.9 kB / 413.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.3167, allocations: 35.14 kB / 413.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009196/0.3177, allocations: 488.2 kB / 413.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.318, allocations: 0.7398 MB / 414.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.3181, allocations: 27.42 kB / 414.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3181, allocations: 0 / 414.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of Templates: time 0.007545/0.3257, allocations: 4.081 MB / 418.7 MB, free: 7.387 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/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