Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 108 kB / 18.44 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 211.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2687, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002927/0.2717, allocations: 1.859 MB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.2739, allocations: 1.298 MB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.274, allocations: 4 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.2742, allocations: 23.73 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.2743, allocations: 27.72 kB / 413.2 MB, free: 14.37 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.0009652/0.2753, allocations: 319 kB / 413.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.2756, allocations: 215.4 kB / 413.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.2758, allocations: 68.23 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.276, allocations: 99.61 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006801/0.2767, allocations: 122.7 kB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.329e-05/0.2767, allocations: 28 kB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005123/0.2773, allocations: 279.5 kB / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.051e-05/0.2774, allocations: 51.83 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.2775, allocations: 107.4 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006489/0.2781, allocations: 386.5 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2782, allocations: 0 / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2782, allocations: 3.938 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.2782, allocations: 0 / 414.8 MB, free: 12.73 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.001227/0.2794, allocations: 0.5754 MB / 415.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2795, allocations: 12.03 kB / 415.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.2797, allocations: 28.66 kB / 415.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.28, allocations: 244.7 kB / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.2801, allocations: 16.66 kB / 415.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.2801, allocations: 24.11 kB / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.2806, allocations: 198.9 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2807, allocations: 0 / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.2807, allocations: 4 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2807, allocations: 4 kB / 415.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/0.2812, allocations: 164.4 kB / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.2823, allocations: 0.5709 MB / 416.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.2834, allocations: 310.6 kB / 416.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.2837, allocations: 108.8 kB / 417 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.2838, allocations: 4 kB / 417 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.2842, allocations: 163.3 kB / 417.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.214e-06/0.2842, allocations: 0 / 417.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001054/0.2853, allocations: 356.1 kB / 417.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.2853, allocations: 63.34 kB / 417.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.2856, allocations: 222.7 kB / 417.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.2856, allocations: 41.7 kB / 417.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.2857, allocations: 132.5 kB / 418 MB, free: 9.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.2858, allocations: 67.11 kB / 418.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.2859, allocations: 69.67 kB / 418.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.286, allocations: 330.8 kB / 418.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.2864, allocations: 135.8 kB / 418.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.2868, allocations: 169.6 kB / 418.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.2874, allocations: 271.2 kB / 419 MB, free: 8.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2874, allocations: 0 / 419 MB, free: 8.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008622/0.2883, allocations: 375.7 kB / 419.4 MB, free: 7.906 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2883, allocations: 11.12 kB / 419.4 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2884, allocations: 0 / 419.4 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2884, allocations: 4.031 kB / 419.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.2887, allocations: 75.88 kB / 419.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.2887, allocations: 0 / 419.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.2889, allocations: 39.72 kB / 419.5 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.289, allocations: 12 kB / 419.5 MB, free: 7.77 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.2891, allocations: 157.5 kB / 419.7 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.2892, allocations: 19.72 kB / 419.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.2892, allocations: 21.88 kB / 419.7 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2893, allocations: 0 / 419.7 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2893, allocations: 0 / 419.7 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.2893, allocations: 3.984 kB / 419.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.2904, allocations: 0.6113 MB / 420.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2904, allocations: 0 / 420.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.2907, allocations: 43.95 kB / 420.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.2907, allocations: 4 kB / 420.4 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.2907, allocations: 11.98 kB / 420.4 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2907, allocations: 4 kB / 420.4 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2907, allocations: 3.938 kB / 420.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.2918, allocations: 484 kB / 420.9 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.2918, allocations: 96.77 kB / 421 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.2919, allocations: 15.98 kB / 421 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.2921, allocations: 15.98 kB / 421 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.2922, allocations: 23.91 kB / 421 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.2922, allocations: 4 kB / 421 MB, free: 6.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.2923, allocations: 164.7 kB / 421.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2923, allocations: 0 / 421.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004637/0.2928, allocations: 95.98 kB / 421.3 MB, free: 5.91 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.000658/0.2935, allocations: 266.4 kB / 421.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008115/0.2943, allocations: 286.5 kB / 421.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2943, allocations: 0 / 421.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.2947, allocations: 111.9 kB / 421.9 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.295, allocations: 35.86 kB / 422 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009849/0.296, allocations: 480.4 kB / 422.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.2963, allocations: 0.7437 MB / 423.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.2964, allocations: 23.44 kB / 423.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2964, allocations: 0 / 423.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of Templates: time 0.007377/0.3038, allocations: 4.146 MB / 427.3 MB, free: 15.81 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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:mean.mu,meanError_y,sigmaError_y,standardDeviation.variance.mu,standardDeviation.variance.var,time,variance.mu,variance.var