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.001821/0.001821, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002026/0.002027, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.4 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.66 kB / 307.6 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1045, allocations: 50.53 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.004155/0.1087, allocations: 1.867 MB / 360 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.1112, allocations: 1.013 MB / 361 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.1114, allocations: 4 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.1116, allocations: 23.73 kB / 361.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.1118, allocations: 35.66 kB / 361.1 MB, free: 11.16 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.0008113/0.1126, allocations: 183.5 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.113, allocations: 215.5 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.1132, allocations: 72.25 kB / 361.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.1134, allocations: 95.61 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007514/0.1141, allocations: 124.9 kB / 361.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.235e-05/0.1142, allocations: 24 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.1146, allocations: 123.9 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.87e-05/0.1147, allocations: 63.75 kB / 362 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1149, allocations: 99.45 kB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005743/0.1154, allocations: 287.4 kB / 362.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1155, allocations: 0 / 362.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1155, allocations: 0 / 362.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1155, allocations: 4 kB / 362.4 MB, free: 9.898 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.001501/0.117, allocations: 0.5545 MB / 362.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1171, allocations: 11.97 kB / 362.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003139/0.1174, allocations: 36.64 kB / 363 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.1177, allocations: 251.7 kB / 363.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.1178, allocations: 12.66 kB / 363.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.1178, allocations: 24.12 kB / 363.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/0.1184, allocations: 198.7 kB / 363.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1185, allocations: 0 / 363.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.1185, allocations: 4 kB / 363.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1185, allocations: 4 kB / 363.4 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007898/0.1193, allocations: 156.4 kB / 363.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.1208, allocations: 0.5788 MB / 364.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.1222, allocations: 298.7 kB / 364.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.1228, allocations: 112.8 kB / 364.6 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.1228, allocations: 0 / 364.6 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000598/0.1234, allocations: 178.1 kB / 364.7 MB, free: 7.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.334e-06/0.1234, allocations: 0 / 364.7 MB, free: 7.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001447/0.1249, allocations: 349.2 kB / 365.1 MB, free: 6.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.654e-05/0.125, allocations: 59.39 kB / 365.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.1253, allocations: 226.6 kB / 365.4 MB, free: 6.688 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.1254, allocations: 45.69 kB / 365.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.1255, allocations: 124.5 kB / 365.5 MB, free: 6.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.1256, allocations: 74.98 kB / 365.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.1258, allocations: 69.69 kB / 365.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.126, allocations: 334.8 kB / 366 MB, free: 6.023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.1266, allocations: 131.8 kB / 366.1 MB, free: 5.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/0.1272, allocations: 165.5 kB / 366.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009925/0.1282, allocations: 271.2 kB / 366.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1282, allocations: 0 / 366.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001318/0.1295, allocations: 387.4 kB / 366.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1296, allocations: 4 kB / 366.9 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1296, allocations: 0 / 366.9 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1296, allocations: 4 kB / 366.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.1301, allocations: 71.91 kB / 367 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1301, allocations: 0 / 367 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.1304, allocations: 47.64 kB / 367.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.1305, allocations: 12 kB / 367.1 MB, free: 4.938 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.0002126/0.1307, allocations: 145.6 kB / 367.2 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.1307, allocations: 19.8 kB / 367.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.011e-05/0.1308, allocations: 25.88 kB / 367.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1309, allocations: 0 / 367.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.1309, allocations: 0 / 367.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.1309, allocations: 3.984 kB / 367.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.1325, allocations: 0.6229 MB / 367.9 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1325, allocations: 4 kB / 367.9 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.1329, allocations: 43.95 kB / 367.9 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.133, allocations: 0 / 367.9 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.133, allocations: 4 kB / 367.9 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.133, allocations: 0 / 367.9 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.133, allocations: 0 / 367.9 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.1346, allocations: 499.6 kB / 368.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.1347, allocations: 92.91 kB / 368.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.1348, allocations: 8 kB / 368.5 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.1351, allocations: 23.97 kB / 368.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.1352, allocations: 19.92 kB / 368.6 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.1353, allocations: 7.984 kB / 368.6 MB, free: 3.332 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.1355, allocations: 152.7 kB / 368.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1355, allocations: 0 / 368.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00061/0.1361, allocations: 67.84 kB / 368.8 MB, free: 3.117 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.0005901/0.1367, allocations: 195.2 kB / 369 MB, free: 2.941 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.1379, allocations: 295.7 kB / 369.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1379, allocations: 0 / 369.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004909/0.1384, allocations: 111.9 kB / 369.4 MB, free: 2.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.139, allocations: 35.88 kB / 369.4 MB, free: 2.508 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.1405, allocations: 495 kB / 369.9 MB, free: 2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.1409, allocations: 0.7398 MB / 370.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.141, allocations: 19.44 kB / 370.7 MB, free: 1.215 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.141, allocations: 4 kB / 370.7 MB, free: 1.211 MB / 302.1 MB Notification: Performance of Templates: time 0.1749/0.316, allocations: 3.37 MB / 374 MB, free: 19.22 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/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:mean.mu,meanError_y,sigmaError_y,standardDeviation.variance.mu,standardDeviation.variance.var,time,variance.mu,variance.var