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.0009713/0.0009713, allocations: 95.27 kB / 17 MB, free: 6.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 197.5 kB / 17.9 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002693/0.0002693, allocations: 11.98 kB / 307.1 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1041, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002157/0.1063, allocations: 1.536 MB / 360.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1083, allocations: 1.217 MB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1085, allocations: 0 / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.1086, allocations: 15.8 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1087, allocations: 23.84 kB / 361.4 MB, free: 10.84 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.0007433/0.1095, allocations: 243.4 kB / 361.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.1097, allocations: 195.5 kB / 361.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.1099, allocations: 60.19 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.11, allocations: 71.69 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1102, allocations: 95.58 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.1103, allocations: 8 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.1108, allocations: 291.5 kB / 362.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.1108, allocations: 35.84 kB / 362.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.1109, allocations: 57.56 kB / 362.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.1113, allocations: 271.7 kB / 362.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1113, allocations: 0 / 362.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.1113, allocations: 0 / 362.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.1113, allocations: 0 / 362.7 MB, free: 9.539 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.001081/0.1124, allocations: 0.5661 MB / 363.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1124, allocations: 8.031 kB / 363.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.1127, allocations: 35.7 kB / 363.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.113, allocations: 234.6 kB / 363.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.1131, allocations: 16.28 kB / 363.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.1131, allocations: 23.94 kB / 363.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006151/0.1138, allocations: 222.6 kB / 363.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1138, allocations: 0 / 363.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1138, allocations: 8 kB / 363.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1138, allocations: 4 kB / 363.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/0.1143, allocations: 184.4 kB / 364 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1154, allocations: 0.5906 MB / 364.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.1164, allocations: 377.1 kB / 365 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.1167, allocations: 132.7 kB / 365.1 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1167, allocations: 4 kB / 365.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/0.1171, allocations: 187.8 kB / 365.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.1172, allocations: 0 / 365.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.000996/0.1182, allocations: 411.5 kB / 365.7 MB, free: 6.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.1182, allocations: 63.41 kB / 365.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1184, allocations: 218.6 kB / 366 MB, free: 6.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.1185, allocations: 41.69 kB / 366 MB, free: 6.055 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.657e-05/0.1186, allocations: 132.5 kB / 366.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.1186, allocations: 71.02 kB / 366.2 MB, free: 5.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.1187, allocations: 8 kB / 366.2 MB, free: 5.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1188, allocations: 330.8 kB / 366.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.1191, allocations: 155.9 kB / 366.7 MB, free: 5.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.1195, allocations: 182.2 kB / 366.9 MB, free: 5.172 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.1198, allocations: 157.2 kB / 367 MB, free: 5.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1198, allocations: 3.938 kB / 367 MB, free: 5.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007739/0.1206, allocations: 415.9 kB / 367.4 MB, free: 4.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1206, allocations: 4 kB / 367.4 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1207, allocations: 0 / 367.4 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1207, allocations: 4 kB / 367.4 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.121, allocations: 75.89 kB / 367.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.121, allocations: 11.98 kB / 367.5 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.1212, allocations: 55.56 kB / 367.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.1212, allocations: 19.92 kB / 367.6 MB, free: 4.434 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,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.1214, allocations: 137.7 kB / 367.7 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.1214, allocations: 23.7 kB / 367.8 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.371e-05/0.1215, allocations: 25.86 kB / 367.8 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1215, allocations: 4 kB / 367.8 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1215, allocations: 4 kB / 367.8 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1215, allocations: 0 / 367.8 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.1225, allocations: 0.6505 MB / 368.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1226, allocations: 0 / 368.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.1228, allocations: 59.89 kB / 368.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1228, allocations: 0 / 368.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.1229, allocations: 8 kB / 368.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1229, allocations: 0 / 368.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1229, allocations: 0 / 368.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.1239, allocations: 0.5341 MB / 369 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.1239, allocations: 100.8 kB / 369.1 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.124, allocations: 8.062 kB / 369.1 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1242, allocations: 31.97 kB / 369.2 MB, free: 2.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.1242, allocations: 15.97 kB / 369.2 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1243, allocations: 4 kB / 369.2 MB, free: 2.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.1244, allocations: 152.7 kB / 369.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1244, allocations: 0 / 369.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004542/0.1249, allocations: 107.8 kB / 369.4 MB, free: 2.477 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006141/0.1255, allocations: 266.2 kB / 369.7 MB, free: 2.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007713/0.1263, allocations: 320.1 kB / 370 MB, free: 1.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1263, allocations: 0 / 370 MB, free: 1.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.1266, allocations: 135.9 kB / 370.2 MB, free: 1.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1269, allocations: 38.02 kB / 370.2 MB, free: 1.754 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009228/0.1279, allocations: 0.5309 MB / 370.7 MB, free: 1.199 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.1282, allocations: 0.7398 MB / 371.5 MB, free: 444 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.1283, allocations: 33.88 kB / 371.5 MB, free: 408 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.1284, allocations: 23.44 kB / 371.5 MB, free: 388 kB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1284, allocations: 0 / 371.5 MB, free: 388 kB / 302.1 MB Notification: Performance of Templates: time 0.1861/0.3145, allocations: 3.328 MB / 374.8 MB, free: 18.66 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