Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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.UniformNoiseProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 199.1 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.643/1.643, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007576/0.0007582, allocations: 92.02 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002358/0.0002358, allocations: 7.984 kB / 360.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2823, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.001826/0.2842, allocations: 1.528 MB / 413.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.2857, allocations: 1.587 MB / 415.2 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.2858, allocations: 0 / 415.2 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.2859, allocations: 16.55 kB / 415.2 MB, free: 22.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.2861, allocations: 16.89 kB / 415.2 MB, free: 22.61 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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.0004272/0.2865, allocations: 156.5 kB / 415.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.2867, allocations: 207.5 kB / 415.6 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.2869, allocations: 59.14 kB / 415.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.2869, allocations: 83.61 kB / 415.7 MB, free: 22.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006469/0.2876, allocations: 107.5 kB / 415.8 MB, free: 22.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.2876, allocations: 8 kB / 415.8 MB, free: 22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.2878, allocations: 99.91 kB / 415.9 MB, free: 21.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.2879, allocations: 51.75 kB / 416 MB, free: 21.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.821e-05/0.288, allocations: 105.2 kB / 416.1 MB, free: 21.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.2883, allocations: 268.7 kB / 416.3 MB, free: 21.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2883, allocations: 0 / 416.3 MB, free: 21.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2883, allocations: 3.938 kB / 416.3 MB, free: 21.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2883, allocations: 0 / 416.3 MB, free: 21.48 MB / 298.7 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.00099/0.2893, allocations: 0.5429 MB / 416.9 MB, free: 20.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.2893, allocations: 11.97 kB / 416.9 MB, free: 20.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.2896, allocations: 32.73 kB / 416.9 MB, free: 20.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.2898, allocations: 248.6 kB / 417.2 MB, free: 20.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.2898, allocations: 12.66 kB / 417.2 MB, free: 20.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.2899, allocations: 28.12 kB / 417.2 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.2904, allocations: 222.6 kB / 417.4 MB, free: 20.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2904, allocations: 0 / 417.4 MB, free: 20.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.2904, allocations: 4 kB / 417.4 MB, free: 20.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2905, allocations: 4 kB / 417.4 MB, free: 20.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.2909, allocations: 176.4 kB / 417.6 MB, free: 20.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009043/0.2918, allocations: 0.5785 MB / 418.2 MB, free: 19.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/0.2928, allocations: 379.5 kB / 418.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.2931, allocations: 140.8 kB / 418.7 MB, free: 18.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2931, allocations: 8.062 kB / 418.7 MB, free: 18.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003625/0.2935, allocations: 187.2 kB / 418.9 MB, free: 18.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.2935, allocations: 0 / 418.9 MB, free: 18.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.000895/0.2944, allocations: 407.8 kB / 419.3 MB, free: 18.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.2945, allocations: 59.41 kB / 419.3 MB, free: 18.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.2946, allocations: 211.8 kB / 419.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.2947, allocations: 37.7 kB / 419.6 MB, free: 18.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.2947, allocations: 124.5 kB / 419.7 MB, free: 17.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.2948, allocations: 78.98 kB / 419.8 MB, free: 17.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.2948, allocations: 8 kB / 419.8 MB, free: 17.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.101e-05/0.2949, allocations: 334.8 kB / 420.1 MB, free: 17.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.2952, allocations: 151.8 kB / 420.2 MB, free: 17.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.2956, allocations: 182.2 kB / 420.4 MB, free: 17.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/0.2961, allocations: 308.5 kB / 420.7 MB, free: 16.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2961, allocations: 0 / 420.7 MB, free: 16.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007148/0.2969, allocations: 411.2 kB / 421.1 MB, free: 16.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2969, allocations: 12.06 kB / 421.1 MB, free: 16.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2969, allocations: 0 / 421.1 MB, free: 16.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2969, allocations: 0 / 421.1 MB, free: 16.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.2972, allocations: 79.89 kB / 421.2 MB, free: 16.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.2972, allocations: 7.938 kB / 421.2 MB, free: 16.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.2974, allocations: 51.66 kB / 421.3 MB, free: 16.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.2974, allocations: 12 kB / 421.3 MB, free: 16.28 MB / 298.7 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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * 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.0001307/0.2976, allocations: 146.6 kB / 421.4 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.2976, allocations: 19.72 kB / 421.5 MB, free: 16.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.393e-05/0.2977, allocations: 21.88 kB / 421.5 MB, free: 16.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2977, allocations: 7.984 kB / 421.5 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2977, allocations: 0 / 421.5 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2977, allocations: 0 / 421.5 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009553/0.2987, allocations: 0.6738 MB / 422.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2987, allocations: 4 kB / 422.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.2989, allocations: 51.95 kB / 422.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2989, allocations: 0 / 422.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.299, allocations: 11.98 kB / 422.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.299, allocations: 0 / 422.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.299, allocations: 0 / 422.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009596/0.2999, allocations: 0.5421 MB / 422.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.3, allocations: 96.8 kB / 422.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.3, allocations: 12.05 kB / 422.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.3002, allocations: 27.98 kB / 422.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.3003, allocations: 23.91 kB / 422.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3003, allocations: 4 kB / 422.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.3004, allocations: 147.2 kB / 423.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3005, allocations: 0 / 423.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.3008, allocations: 59.98 kB / 423.1 MB, free: 14.34 MB / 298.7 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.0004335/0.3012, allocations: 228.2 kB / 423.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.3019, allocations: 319.7 kB / 423.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3019, allocations: 0 / 423.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.3022, allocations: 135.9 kB / 423.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.3025, allocations: 32.03 kB / 423.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008284/0.3034, allocations: 0.5303 MB / 424.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.3036, allocations: 0.7398 MB / 425.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.3037, allocations: 29.94 kB / 425.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.3038, allocations: 23.42 kB / 425.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.3038, allocations: 4 kB / 425.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of Templates: time 0.005885/0.3097, allocations: 2.781 MB / 427.9 MB, free: 9.504 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches