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.0009527/0.0009527, allocations: 93.22 kB / 17.35 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 200 kB / 18.28 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002457/0.0002457, allocations: 8 kB / 307.7 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1081, allocations: 51.52 MB / 359.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002195/0.1104, allocations: 1.586 MB / 360.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1127, allocations: 1.306 MB / 362.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1128, allocations: 0 / 362.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1129, allocations: 7.875 kB / 362.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.1131, allocations: 19.86 kB / 362.2 MB, free: 10.36 MB / 302.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.0008133/0.1139, allocations: 259.4 kB / 362.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.1142, allocations: 203.5 kB / 362.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1144, allocations: 68.25 kB / 362.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1145, allocations: 75.62 kB / 362.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005964/0.1151, allocations: 106.5 kB / 362.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.1152, allocations: 8 kB / 362.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005053/0.1157, allocations: 291.4 kB / 363.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.299e-05/0.1158, allocations: 51.81 kB / 363.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.1159, allocations: 105.1 kB / 363.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005457/0.1164, allocations: 379.1 kB / 363.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1164, allocations: 0 / 363.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1165, allocations: 0 / 363.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1165, allocations: 0 / 363.7 MB, free: 8.84 MB / 302.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.001126/0.1176, allocations: 0.5702 MB / 364.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1177, allocations: 8.031 kB / 364.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.1179, allocations: 36.64 kB / 364.3 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.1182, allocations: 239.8 kB / 364.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.1182, allocations: 16.66 kB / 364.5 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.1183, allocations: 28.03 kB / 364.6 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.1188, allocations: 222.6 kB / 364.8 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1188, allocations: 0 / 364.8 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.1188, allocations: 8 kB / 364.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.1189, allocations: 4 kB / 364.8 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/0.1194, allocations: 189.3 kB / 365 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1205, allocations: 0.5828 MB / 365.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.1216, allocations: 378.6 kB / 365.9 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.122, allocations: 128.8 kB / 366.1 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.122, allocations: 11.91 kB / 366.1 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004456/0.1224, allocations: 197.9 kB / 366.3 MB, free: 6.086 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.314e-06/0.1225, allocations: 4 kB / 366.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001095/0.1236, allocations: 407.3 kB / 366.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.1236, allocations: 55.41 kB / 366.7 MB, free: 5.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.1239, allocations: 226.7 kB / 366.9 MB, free: 5.379 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.1239, allocations: 33.7 kB / 367 MB, free: 5.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/0.124, allocations: 132.5 kB / 367.1 MB, free: 5.203 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.395e-05/0.1241, allocations: 71 kB / 367.2 MB, free: 5.133 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.1242, allocations: 45.62 kB / 367.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1243, allocations: 338.8 kB / 367.6 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.1247, allocations: 147.9 kB / 367.7 MB, free: 4.598 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.1251, allocations: 177.6 kB / 367.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007063/0.1258, allocations: 315.1 kB / 368.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1258, allocations: 0 / 368.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008924/0.1267, allocations: 423.8 kB / 368.6 MB, free: 3.684 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1267, allocations: 4 kB / 368.6 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1268, allocations: 0 / 368.6 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1268, allocations: 8 kB / 368.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.1271, allocations: 79.88 kB / 368.7 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.1271, allocations: 4 kB / 368.7 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.1273, allocations: 55.66 kB / 368.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.1274, allocations: 12 kB / 368.8 MB, free: 3.523 MB / 302.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.0001593/0.1275, allocations: 145.6 kB / 368.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.1276, allocations: 15.81 kB / 368.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.101e-05/0.1277, allocations: 29.8 kB / 368.9 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1277, allocations: 8 kB / 368.9 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1277, allocations: 0 / 368.9 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1277, allocations: 0 / 368.9 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.1289, allocations: 0.6615 MB / 369.6 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1289, allocations: 0 / 369.6 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.1291, allocations: 51.91 kB / 369.7 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1292, allocations: 0 / 369.7 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.1292, allocations: 15.98 kB / 369.7 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1292, allocations: 0 / 369.7 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1292, allocations: 0 / 369.7 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.1303, allocations: 0.5312 MB / 370.2 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.1304, allocations: 92.91 kB / 370.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.1305, allocations: 15.94 kB / 370.3 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1307, allocations: 27.97 kB / 370.3 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.1308, allocations: 16.11 kB / 370.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1308, allocations: 15.98 kB / 370.4 MB, free: 1.801 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1309, allocations: 152.7 kB / 370.5 MB, free: 1.652 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1309, allocations: 0 / 370.5 MB, free: 1.652 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.1314, allocations: 103.8 kB / 370.6 MB, free: 1.551 MB / 302.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.0007168/0.1322, allocations: 262.6 kB / 370.9 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008311/0.133, allocations: 315.8 kB / 371.2 MB, free: 1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.133, allocations: 4 kB / 371.2 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.1334, allocations: 131.9 kB / 371.3 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1337, allocations: 35.88 kB / 371.4 MB, free: 0.832 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.1347, allocations: 0.5451 MB / 371.9 MB, free: 272 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1832/0.318, allocations: 0.7337 MB / 372.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.3182, allocations: 30.23 kB / 372.7 MB, free: 18.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.909e-05/0.3183, allocations: 24.14 kB / 372.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3183, allocations: 5.219 kB / 372.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of Templates: time 0.009399/0.3277, allocations: 3.393 MB / 376.1 MB, free: 18.48 MB / 302.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