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.001398/0.001398, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001784/0.001784, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3211, allocations: 50.55 MB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002993/0.3241, allocations: 1.87 MB / 411.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.3264, allocations: 1.302 MB / 412.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.3266, allocations: 4 kB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.3267, allocations: 19.75 kB / 412.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.3269, allocations: 35.7 kB / 412.5 MB, free: 14.34 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.001042/0.328, allocations: 303.1 kB / 412.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.3283, allocations: 223.4 kB / 413 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.3285, allocations: 68.25 kB / 413.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.3287, allocations: 99.61 kB / 413.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000626/0.3293, allocations: 110.3 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.134e-05/0.3294, allocations: 28 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.3299, allocations: 279.5 kB / 413.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.578e-05/0.33, allocations: 59.81 kB / 413.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3301, allocations: 103.4 kB / 413.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000652/0.3308, allocations: 386.6 kB / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3308, allocations: 3.938 kB / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3308, allocations: 0 / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3308, allocations: 0 / 414.1 MB, free: 12.71 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.001226/0.3321, allocations: 0.5715 MB / 414.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3321, allocations: 16.02 kB / 414.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.3324, allocations: 28.66 kB / 414.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.3327, allocations: 248.7 kB / 415 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.3327, allocations: 12.66 kB / 415 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.3328, allocations: 24.12 kB / 415 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.3333, allocations: 202.9 kB / 415.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3333, allocations: 0 / 415.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.3333, allocations: 7.984 kB / 415.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3333, allocations: 4 kB / 415.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004847/0.3338, allocations: 160.4 kB / 415.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.3349, allocations: 0.5632 MB / 415.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.336, allocations: 314.5 kB / 416.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.3363, allocations: 112.8 kB / 416.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.3363, allocations: 8 kB / 416.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003985/0.3367, allocations: 166.8 kB / 416.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.515e-06/0.3368, allocations: 0 / 416.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.00102/0.3378, allocations: 361 kB / 416.9 MB, free: 9.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3378, allocations: 59.41 kB / 416.9 MB, free: 9.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.3381, allocations: 222.7 kB / 417.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.3381, allocations: 37.7 kB / 417.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.676e-05/0.3382, allocations: 132.5 kB / 417.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.3383, allocations: 59.11 kB / 417.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.3384, allocations: 77.67 kB / 417.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3385, allocations: 330.8 kB / 417.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.3389, allocations: 135.8 kB / 417.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.3393, allocations: 169.7 kB / 418.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.3399, allocations: 271.1 kB / 418.3 MB, free: 8.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.34, allocations: 4 kB / 418.3 MB, free: 8.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009482/0.3409, allocations: 371.7 kB / 418.7 MB, free: 7.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.341, allocations: 8 kB / 418.7 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.341, allocations: 0 / 418.7 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.341, allocations: 4.031 kB / 418.7 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.3414, allocations: 71.88 kB / 418.8 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.3414, allocations: 0 / 418.8 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.3417, allocations: 39.73 kB / 418.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.3417, allocations: 11.98 kB / 418.8 MB, free: 7.746 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.0002719/0.342, allocations: 161.5 kB / 419 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.3421, allocations: 23.7 kB / 419 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.3422, allocations: 17.88 kB / 419 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3422, allocations: 3.938 kB / 419 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.3422, allocations: 0 / 419 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.3422, allocations: 0 / 419 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.3435, allocations: 0.6153 MB / 419.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3435, allocations: 0 / 419.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.3438, allocations: 47.89 kB / 419.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3438, allocations: 0 / 419.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.3438, allocations: 11.98 kB / 419.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3438, allocations: 0 / 419.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3438, allocations: 4 kB / 419.7 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/0.3448, allocations: 480 kB / 420.2 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.3449, allocations: 101 kB / 420.3 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.3449, allocations: 15.92 kB / 420.3 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.3451, allocations: 27.86 kB / 420.3 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.3452, allocations: 15.97 kB / 420.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.3452, allocations: 8 kB / 420.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.3453, allocations: 156.7 kB / 420.5 MB, free: 5.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3454, allocations: 0 / 420.5 MB, free: 5.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004565/0.3458, allocations: 99.98 kB / 420.6 MB, free: 5.879 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.0005961/0.3464, allocations: 265.4 kB / 420.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007535/0.3472, allocations: 283.7 kB / 421.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3472, allocations: 0 / 421.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.3475, allocations: 111.8 kB / 421.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.3479, allocations: 31.88 kB / 421.3 MB, free: 5.219 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/0.3489, allocations: 454.7 kB / 421.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.3492, allocations: 0.7359 MB / 422.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.3493, allocations: 37.86 kB / 422.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.3494, allocations: 31.42 kB / 422.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3494, allocations: 4 kB / 422.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of Templates: time 0.007782/0.3572, allocations: 3.614 MB / 426.1 MB, free: 328 kB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/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:globalSeed.enableNoise,globalSeed.fixedSeed,globalSeed.seed,globalSeed.useAutomaticSeed,mean.actualStartTime,mean.mu,mean.startTime,mean.t_0,mean.t_eps,meanError.u2,meanError_y,mu,noise.actualGlobalSeed,noise.enableNoise,noise.fixedLocalSeed,noise.generateNoise,noise.localSeed,noise.mu,noise.samplePeriod,noise.sigma,noise.startTime,noise.useAutomaticLocalSeed,noise.useGlobalSeed,noise.y_off,pMean,sigma,sigmaError.u2,sigmaError_y,standardDeviation.t_eps,standardDeviation.variance.mu,standardDeviation.variance.t_0,standardDeviation.variance.t_eps,standardDeviation.variance.var,std,theoreticalMean.k,theoreticalMean.y,theoreticalSigma.k,theoreticalSigma.y,theoreticalVariance.significantDigits,theoreticalVariance.u[1],theoreticalVariance.u[2],time,var,variance.mu,variance.t_0,variance.t_eps,variance.var