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.001722/0.001722, allocations: 106.6 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002241/0.002241, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.676/2.676, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 71.86 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4951/0.4973, allocations: 50.54 MB / 409.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.00583/0.5031, allocations: 1.867 MB / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004679/0.5079, allocations: 1.298 MB / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.5082, allocations: 4 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.5085, allocations: 15.75 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.5088, allocations: 31.72 kB / 413.2 MB, free: 14.32 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.001796/0.5106, allocations: 315.1 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004659/0.5153, allocations: 215.4 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.5158, allocations: 72.25 kB / 413.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.5161, allocations: 99.61 kB / 413.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.5172, allocations: 118 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.5174, allocations: 24 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.5184, allocations: 279.5 kB / 414.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.5186, allocations: 55.81 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.5188, allocations: 103.4 kB / 414.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.5199, allocations: 386.6 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.52, allocations: 0 / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.52, allocations: 3.938 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.52, allocations: 4 kB / 414.8 MB, free: 12.68 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.002077/0.5221, allocations: 0.5676 MB / 415.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.5222, allocations: 12.03 kB / 415.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000417/0.5226, allocations: 32.64 kB / 415.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/0.5231, allocations: 248.7 kB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.5232, allocations: 20.66 kB / 415.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.5233, allocations: 20.12 kB / 415.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009347/0.5243, allocations: 194.9 kB / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.5243, allocations: 3.938 kB / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.5244, allocations: 4 kB / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.5244, allocations: 4 kB / 415.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.5254, allocations: 164.4 kB / 416 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.5275, allocations: 0.5749 MB / 416.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.5296, allocations: 302.6 kB / 416.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/0.5302, allocations: 115 kB / 417 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.5303, allocations: 11.98 kB / 417 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007637/0.531, allocations: 158.8 kB / 417.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 6.662e-06/0.5311, allocations: 0 / 417.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.002079/0.5332, allocations: 361 kB / 417.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/0.5333, allocations: 63.41 kB / 417.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.5337, allocations: 214.7 kB / 417.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/0.5338, allocations: 49.69 kB / 417.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.534, allocations: 128.5 kB / 418 MB, free: 9.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.5341, allocations: 63.11 kB / 418.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.5344, allocations: 69.67 kB / 418.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.5346, allocations: 334.8 kB / 418.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000717/0.5353, allocations: 127.9 kB / 418.6 MB, free: 8.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000759/0.5361, allocations: 173.6 kB / 418.7 MB, free: 8.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.5375, allocations: 275.1 kB / 419 MB, free: 8.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.5375, allocations: 4 kB / 419 MB, free: 8.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00605/0.5436, allocations: 379.8 kB / 419.4 MB, free: 7.844 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.5437, allocations: 4 kB / 419.4 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5437, allocations: 0 / 419.4 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/0.5438, allocations: 4 kB / 419.4 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/0.5445, allocations: 67.89 kB / 419.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/0.5445, allocations: 7.969 kB / 419.5 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.5449, allocations: 35.73 kB / 419.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/0.545, allocations: 19.98 kB / 419.5 MB, free: 7.707 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.0003164/0.5454, allocations: 149.5 kB / 419.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.5455, allocations: 19.72 kB / 419.7 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.5456, allocations: 25.86 kB / 419.7 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.5456, allocations: 0 / 419.7 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.5457, allocations: 3.938 kB / 419.7 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5457, allocations: 0 / 419.7 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.5478, allocations: 0.6114 MB / 420.3 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.5479, allocations: 0 / 420.3 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005179/0.5484, allocations: 51.89 kB / 420.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.5484, allocations: 0 / 420.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.5485, allocations: 8 kB / 420.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.5485, allocations: 3.938 kB / 420.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.5485, allocations: 3.984 kB / 420.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.5506, allocations: 486.1 kB / 420.9 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.5508, allocations: 96.77 kB / 421 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.906e-05/0.5509, allocations: 12 kB / 421 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.5513, allocations: 23.97 kB / 421 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.5514, allocations: 23.91 kB / 421 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.5515, allocations: 4 kB / 421 MB, free: 6.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.5518, allocations: 152.7 kB / 421.2 MB, free: 5.953 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5518, allocations: 0 / 421.2 MB, free: 5.953 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008511/0.5527, allocations: 99.98 kB / 421.3 MB, free: 5.855 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.001169/0.5539, allocations: 268.1 kB / 421.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.5555, allocations: 283.7 kB / 421.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.5555, allocations: 0 / 421.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005865/0.5561, allocations: 111.8 kB / 421.9 MB, free: 5.219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/0.5567, allocations: 41.84 kB / 422 MB, free: 5.184 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.5585, allocations: 480.3 kB / 422.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/0.5592, allocations: 0.7398 MB / 423.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.5594, allocations: 23.42 kB / 423.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5594, allocations: 0 / 423.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of Templates: time 0.01859/0.578, allocations: 4.171 MB / 427.4 MB, free: 15.73 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