Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 200.4 kB / 17.43 MB, free: 4.242 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 99.86 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002936, allocations: 8 kB / 360.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2991, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.00186/0.301, allocations: 1.523 MB / 413.6 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.303, allocations: 2.197 MB / 415.8 MB, free: 21.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.935e-05/0.3031, allocations: 4 kB / 415.8 MB, free: 21.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.3032, allocations: 11.86 kB / 415.8 MB, free: 21.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.499e-05/0.3033, allocations: 19.81 kB / 415.8 MB, free: 21.93 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.0006965/0.304, allocations: 247.5 kB / 416 MB, free: 21.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.3042, allocations: 209.9 kB / 416.3 MB, free: 21.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.3043, allocations: 64.2 kB / 416.3 MB, free: 21.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.3044, allocations: 79.62 kB / 416.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006144/0.305, allocations: 96.83 kB / 416.5 MB, free: 21.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.3051, allocations: 12 kB / 416.5 MB, free: 21.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003831/0.3055, allocations: 279.4 kB / 416.8 MB, free: 20.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.3055, allocations: 43.81 kB / 416.8 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.004e-05/0.3056, allocations: 113.1 kB / 416.9 MB, free: 20.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.306, allocations: 372.5 kB / 417.3 MB, free: 20.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3061, allocations: 4 kB / 417.3 MB, free: 20.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3061, allocations: 0 / 417.3 MB, free: 20.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.3061, allocations: 0 / 417.3 MB, free: 20.44 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.000939/0.307, allocations: 0.5585 MB / 417.9 MB, free: 19.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3071, allocations: 8.031 kB / 417.9 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.3073, allocations: 36.73 kB / 417.9 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.3075, allocations: 240.6 kB / 418.1 MB, free: 19.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.3076, allocations: 20.64 kB / 418.2 MB, free: 19.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.3076, allocations: 28.11 kB / 418.2 MB, free: 19.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.3081, allocations: 218.6 kB / 418.4 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3081, allocations: 0 / 418.4 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.3081, allocations: 7.984 kB / 418.4 MB, free: 19.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3081, allocations: 4 kB / 418.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.3085, allocations: 176.4 kB / 418.6 MB, free: 19.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008957/0.3095, allocations: 0.5785 MB / 419.2 MB, free: 18.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009603/0.3104, allocations: 378.6 kB / 419.5 MB, free: 18.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.3107, allocations: 136.8 kB / 419.7 MB, free: 17.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3107, allocations: 8.062 kB / 419.7 MB, free: 17.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003478/0.3111, allocations: 183.2 kB / 419.8 MB, free: 17.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.3111, allocations: 4 kB / 419.8 MB, free: 17.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009496/0.3121, allocations: 411.4 kB / 420.3 MB, free: 17.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.3121, allocations: 59.39 kB / 420.3 MB, free: 17.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.3123, allocations: 211.8 kB / 420.5 MB, free: 17.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3123, allocations: 37.7 kB / 420.6 MB, free: 16.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.3124, allocations: 132.5 kB / 420.7 MB, free: 16.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.3124, allocations: 74.98 kB / 420.8 MB, free: 16.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.3124, allocations: 7.938 kB / 420.8 MB, free: 16.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.3125, allocations: 330.8 kB / 421.1 MB, free: 16.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.3128, allocations: 147.9 kB / 421.2 MB, free: 16.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.3131, allocations: 182.2 kB / 421.4 MB, free: 16.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.3137, allocations: 308.5 kB / 421.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3137, allocations: 0 / 421.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000732/0.3144, allocations: 411.2 kB / 422.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3145, allocations: 8.062 kB / 422.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3145, allocations: 0 / 422.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3145, allocations: 4 kB / 422.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.3148, allocations: 83.88 kB / 422.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3148, allocations: 0 / 422.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.315, allocations: 55.59 kB / 422.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.315, allocations: 16 kB / 422.3 MB, free: 15.22 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.0001393/0.3152, allocations: 146.6 kB / 422.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.3152, allocations: 19.72 kB / 422.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.936e-05/0.3153, allocations: 21.88 kB / 422.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3153, allocations: 0 / 422.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3153, allocations: 0 / 422.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3153, allocations: 3.984 kB / 422.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.3165, allocations: 0.6841 MB / 423.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3165, allocations: 4 kB / 423.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.3167, allocations: 47.95 kB / 423.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3167, allocations: 0 / 423.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.3168, allocations: 15.98 kB / 423.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.3168, allocations: 0 / 423.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3168, allocations: 0 / 423.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3178, allocations: 0.5345 MB / 423.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.3179, allocations: 100.8 kB / 423.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.3179, allocations: 8.062 kB / 423.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.3181, allocations: 28.09 kB / 423.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.3182, allocations: 15.98 kB / 423.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.3182, allocations: 15.98 kB / 423.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3183, allocations: 147.2 kB / 424.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3183, allocations: 0 / 424.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00044/0.3188, allocations: 99.98 kB / 424.2 MB, free: 13.24 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.0007072/0.3195, allocations: 278.9 kB / 424.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007601/0.3203, allocations: 323.7 kB / 424.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3203, allocations: 0 / 424.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.3206, allocations: 135.9 kB / 424.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.321, allocations: 31.95 kB / 424.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000973/0.3219, allocations: 0.5303 MB / 425.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.3222, allocations: 0.7398 MB / 426.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.3223, allocations: 33.94 kB / 426.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.3224, allocations: 23.42 kB / 426.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3224, allocations: 0 / 426.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of Templates: time 0.007815/0.3302, allocations: 3.475 MB / 429.7 MB, free: 7.664 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches