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.001335/0.001335, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001872/0.001872, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 60.56 kB / 307.6 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1122, allocations: 50.54 MB / 358.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003274/0.1155, allocations: 1.86 MB / 360 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1174, allocations: 1.017 MB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.353e-05/0.1175, allocations: 0 / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.1176, allocations: 23.73 kB / 361.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.1178, allocations: 39.66 kB / 361.1 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.0005743/0.1184, allocations: 179.5 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.1187, allocations: 215.5 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.1189, allocations: 68.25 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.119, allocations: 99.61 kB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005835/0.1196, allocations: 130.7 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.08e-05/0.1196, allocations: 20 kB / 361.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.1199, allocations: 119.9 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.576e-05/0.12, allocations: 63.75 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.1201, allocations: 103.4 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.1205, allocations: 283.4 kB / 362.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1205, allocations: 4 kB / 362.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1205, allocations: 4 kB / 362.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1205, allocations: 0 / 362.4 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.001174/0.1217, allocations: 0.5544 MB / 362.9 MB, free: 9.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.1218, allocations: 8.031 kB / 362.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.122, allocations: 40.64 kB / 363 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1223, allocations: 247.7 kB / 363.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.1223, allocations: 20.59 kB / 363.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.1224, allocations: 20.12 kB / 363.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.1229, allocations: 198.7 kB / 363.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1229, allocations: 0 / 363.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.1229, allocations: 4 kB / 363.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1229, allocations: 8 kB / 363.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.1234, allocations: 156.4 kB / 363.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.1245, allocations: 0.5788 MB / 364.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.1257, allocations: 309.3 kB / 364.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.126, allocations: 108.8 kB / 364.6 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.126, allocations: 4 kB / 364.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004274/0.1265, allocations: 174.1 kB / 364.8 MB, free: 7.289 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.873e-06/0.1265, allocations: 0 / 364.8 MB, free: 7.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.00109/0.1276, allocations: 349.2 kB / 365.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.1276, allocations: 59.41 kB / 365.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1279, allocations: 226.7 kB / 365.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.1279, allocations: 33.7 kB / 365.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.128, allocations: 132.5 kB / 365.6 MB, free: 6.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.326e-05/0.1281, allocations: 71 kB / 365.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.1282, allocations: 65.69 kB / 365.7 MB, free: 6.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1284, allocations: 338.8 kB / 366 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.1288, allocations: 131.9 kB / 366.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.1292, allocations: 165.5 kB / 366.3 MB, free: 5.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/0.1299, allocations: 263.3 kB / 366.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1299, allocations: 7.938 kB / 366.6 MB, free: 5.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000879/0.1308, allocations: 379.4 kB / 367 MB, free: 5.039 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1308, allocations: 8 kB / 367 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.1308, allocations: 3.984 kB / 367 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1309, allocations: 0 / 367 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.1312, allocations: 75.92 kB / 367 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1312, allocations: 0 / 367 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.1314, allocations: 43.66 kB / 367.1 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.1314, allocations: 12 kB / 367.1 MB, free: 4.898 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.000171/0.1316, allocations: 149.6 kB / 367.2 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.1316, allocations: 15.81 kB / 367.3 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.1317, allocations: 25.86 kB / 367.3 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1317, allocations: 4 kB / 367.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1317, allocations: 3.938 kB / 367.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1318, allocations: 0 / 367.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.1329, allocations: 0.619 MB / 367.9 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1329, allocations: 0 / 367.9 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.1332, allocations: 43.95 kB / 368 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.1332, allocations: 4 kB / 368 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.1332, allocations: 7.984 kB / 368 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1332, allocations: 4 kB / 368 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1333, allocations: 4 kB / 368 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.1344, allocations: 491.6 kB / 368.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.1344, allocations: 88.92 kB / 368.5 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.1345, allocations: 15.98 kB / 368.6 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.1347, allocations: 23.97 kB / 368.6 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.1348, allocations: 15.97 kB / 368.6 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1348, allocations: 4 kB / 368.6 MB, free: 3.293 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.1349, allocations: 164.7 kB / 368.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1349, allocations: 0 / 368.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.1353, allocations: 67.83 kB / 368.8 MB, free: 3.066 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.0004782/0.1358, allocations: 185.1 kB / 369 MB, free: 2.898 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000835/0.1366, allocations: 287.7 kB / 369.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1367, allocations: 4.062 kB / 369.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.137, allocations: 115.9 kB / 369.4 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1374, allocations: 27.88 kB / 369.4 MB, free: 2.473 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009996/0.1384, allocations: 0.4886 MB / 369.9 MB, free: 1.957 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1387, allocations: 0.7398 MB / 370.7 MB, free: 1.191 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-05/0.1388, allocations: 35.42 kB / 370.7 MB, free: 1.156 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1388, allocations: 0 / 370.7 MB, free: 1.156 MB / 302.1 MB Notification: Performance of Templates: time 0.165/0.3038, allocations: 3.364 MB / 374.1 MB, free: 19.32 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.1.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