Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.UniformNoiseProperties,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.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001579, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 72.09 kB / 306.9 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1079, allocations: 50.53 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.00397/0.1119, allocations: 1.855 MB / 359.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.114, allocations: 1.021 MB / 360.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.1143, allocations: 4 kB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.1144, allocations: 23.73 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.1147, allocations: 35.66 kB / 360.4 MB, free: 11.11 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.0006951/0.1154, allocations: 179.5 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.1157, allocations: 215.5 kB / 360.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.1159, allocations: 64.25 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1161, allocations: 99.61 kB / 361 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000617/0.1167, allocations: 122.3 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-05/0.1168, allocations: 24 kB / 361.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.1171, allocations: 123.9 kB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.423e-05/0.1172, allocations: 63.75 kB / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1173, allocations: 99.45 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.1178, allocations: 287.4 kB / 361.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1178, allocations: 0 / 361.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1178, allocations: 0 / 361.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1178, allocations: 4 kB / 361.7 MB, free: 9.855 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.001234/0.119, allocations: 0.5583 MB / 362.2 MB, free: 9.246 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1191, allocations: 8.031 kB / 362.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.1193, allocations: 36.64 kB / 362.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.1197, allocations: 251.7 kB / 362.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.1197, allocations: 12.66 kB / 362.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.1198, allocations: 24.12 kB / 362.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.1203, allocations: 202.7 kB / 362.8 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1204, allocations: 0 / 362.8 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1204, allocations: 4 kB / 362.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1204, allocations: 4 kB / 362.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.121, allocations: 160.4 kB / 362.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.1221, allocations: 0.5749 MB / 363.5 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.1233, allocations: 301.6 kB / 363.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.1236, allocations: 112.8 kB / 363.9 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1236, allocations: 0 / 363.9 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/0.1241, allocations: 179.1 kB / 364.1 MB, free: 7.289 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.1241, allocations: 0 / 364.1 MB, free: 7.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001079/0.1252, allocations: 349.2 kB / 364.4 MB, free: 6.941 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1252, allocations: 59.39 kB / 364.5 MB, free: 6.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.1255, allocations: 222.7 kB / 364.7 MB, free: 6.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.1255, allocations: 41.69 kB / 364.7 MB, free: 6.594 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1256, allocations: 128.5 kB / 364.9 MB, free: 6.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.1257, allocations: 74.98 kB / 364.9 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.1258, allocations: 65.69 kB / 365 MB, free: 6.316 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.126, allocations: 342.8 kB / 365.3 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.1263, allocations: 127.9 kB / 365.4 MB, free: 5.848 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.1267, allocations: 161.6 kB / 365.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.1275, allocations: 271.2 kB / 365.9 MB, free: 5.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1275, allocations: 3.938 kB / 365.9 MB, free: 5.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000896/0.1284, allocations: 383.4 kB / 366.2 MB, free: 5.031 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.1284, allocations: 8 kB / 366.3 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.1284, allocations: 3.984 kB / 366.3 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1285, allocations: 0 / 366.3 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.1288, allocations: 75.91 kB / 366.3 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1288, allocations: 0 / 366.3 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.129, allocations: 43.66 kB / 366.4 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.129, allocations: 12 kB / 366.4 MB, free: 4.891 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.0001549/0.1292, allocations: 145.6 kB / 366.5 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.1293, allocations: 19.81 kB / 366.6 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.06e-05/0.1293, allocations: 25.88 kB / 366.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1293, allocations: 0 / 366.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.1294, allocations: 4 kB / 366.6 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.1294, allocations: 3.984 kB / 366.6 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.1305, allocations: 0.6229 MB / 367.2 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1305, allocations: 0 / 367.2 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.1307, allocations: 43.95 kB / 367.3 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.1307, allocations: 3.984 kB / 367.3 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.1308, allocations: 4 kB / 367.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1308, allocations: 3.984 kB / 367.3 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1308, allocations: 0 / 367.3 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.1318, allocations: 495.4 kB / 367.7 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.1319, allocations: 92.91 kB / 367.8 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.132, allocations: 8 kB / 367.8 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.1321, allocations: 23.97 kB / 367.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.1322, allocations: 15.98 kB / 367.9 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1322, allocations: 7.984 kB / 367.9 MB, free: 3.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.1324, allocations: 160.6 kB / 368 MB, free: 3.129 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1324, allocations: 0 / 368 MB, free: 3.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003604/0.1328, allocations: 71.83 kB / 368.1 MB, free: 3.059 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.0004245/0.1332, allocations: 182.2 kB / 368.3 MB, free: 2.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007938/0.134, allocations: 291.7 kB / 368.6 MB, free: 2.609 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.134, allocations: 4 kB / 368.6 MB, free: 2.605 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.1343, allocations: 111.9 kB / 368.7 MB, free: 2.496 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1347, allocations: 39.94 kB / 368.7 MB, free: 2.457 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1357, allocations: 469.2 kB / 369.2 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1361, allocations: 0.7398 MB / 369.9 MB, free: 1.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.1362, allocations: 33.92 kB / 370 MB, free: 1.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.1363, allocations: 19.44 kB / 370 MB, free: 1.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1363, allocations: 3.938 kB / 370 MB, free: 1.156 MB / 302.1 MB Notification: Performance of Templates: time 0.1755/0.3118, allocations: 2.868 MB / 372.9 MB, free: 19.46 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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,noise.actualGlobalSeed,noise.enableNoise,noise.fixedLocalSeed,noise.generateNoise,noise.localSeed,noise.samplePeriod,noise.startTime,noise.useAutomaticLocalSeed,noise.useGlobalSeed,noise.y_max,noise.y_min,noise.y_off,pMean,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,y_max,y_min