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.001288/0.001289, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.00126/0.00126, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.381/1.381, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 47.94 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2752, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002848/0.2781, allocations: 1.846 MB / 403.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.2802, allocations: 1.243 MB / 404.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.473e-05/0.2803, allocations: 11.94 kB / 404.5 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.2804, allocations: 19.73 kB / 404.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.775e-05/0.2805, allocations: 31.72 kB / 404.6 MB, free: 5.703 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.0008413/0.2814, allocations: 307.1 kB / 404.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.2816, allocations: 219.5 kB / 405.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.2818, allocations: 68.25 kB / 405.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.2819, allocations: 95.62 kB / 405.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005198/0.2824, allocations: 119.5 kB / 405.4 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.2825, allocations: 20 kB / 405.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004377/0.2829, allocations: 271.6 kB / 405.7 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.941e-05/0.283, allocations: 63.77 kB / 405.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.2831, allocations: 103.4 kB / 405.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005109/0.2837, allocations: 388.3 kB / 406.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2837, allocations: 0 / 406.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2837, allocations: 0 / 406.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2837, allocations: 0 / 406.2 MB, free: 4.078 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.001042/0.2847, allocations: 0.5659 MB / 406.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2848, allocations: 15.89 kB / 406.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.285, allocations: 32.64 kB / 406.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.2853, allocations: 248.4 kB / 407.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.2853, allocations: 16.28 kB / 407.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.2854, allocations: 19.91 kB / 407.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.2859, allocations: 200.4 kB / 407.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2859, allocations: 0 / 407.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.2859, allocations: 8 kB / 407.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2859, allocations: 4 kB / 407.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.2864, allocations: 152.2 kB / 407.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.2874, allocations: 0.5707 MB / 408 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.2885, allocations: 302.6 kB / 408.3 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.2888, allocations: 116.8 kB / 408.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.2888, allocations: 8.062 kB / 408.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003931/0.2892, allocations: 168.7 kB / 408.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.913e-06/0.2892, allocations: 4 kB / 408.6 MB, free: 1.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001011/0.2903, allocations: 359.5 kB / 408.9 MB, free: 1.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.2903, allocations: 63.39 kB / 409 MB, free: 1.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.2905, allocations: 207.8 kB / 409.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.2906, allocations: 33.7 kB / 409.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/0.2907, allocations: 128.5 kB / 409.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.2907, allocations: 75 kB / 409.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.2908, allocations: 69.67 kB / 409.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.291, allocations: 334.8 kB / 409.8 MB, free: 220 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.2913, allocations: 131.9 kB / 410 MB, free: 88 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.2917, allocations: 158.2 kB / 410.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006169/0.2923, allocations: 268.6 kB / 410.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2924, allocations: 0 / 410.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008016/0.2932, allocations: 375.1 kB / 410.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2932, allocations: 7.938 kB / 410.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2932, allocations: 7.938 kB / 410.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2932, allocations: 0 / 410.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.2936, allocations: 71.88 kB / 410.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.2936, allocations: 8.031 kB / 410.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.2938, allocations: 43.66 kB / 410.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.2938, allocations: 7.938 kB / 410.9 MB, free: 15.14 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.000143/0.2939, allocations: 145.8 kB / 411 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.294, allocations: 19.72 kB / 411.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.09e-05/0.294, allocations: 21.88 kB / 411.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2941, allocations: 3.984 kB / 411.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2941, allocations: 4 kB / 411.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.2941, allocations: 100.9 kB / 411.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.2942, allocations: 7.938 kB / 411.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.2943, allocations: 19.97 kB / 411.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.2944, allocations: 15.92 kB / 411.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001352/0.2958, allocations: 455.1 kB / 411.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001044/0.2968, allocations: 0.5564 MB / 412.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002882/0.2971, allocations: 103.9 kB / 412.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.2973, allocations: 151.2 kB / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.2973, allocations: 0 / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.2985, allocations: 437.3 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008727/0.2994, allocations: 0.8362 MB / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of Templates: time 0.008379/0.3078, allocations: 4.141 MB / 417.9 MB, free: 8.098 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