Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 114.9 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 45.23 kB / 300.1 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1035, allocations: 49.45 MB / 349.6 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003424/0.107, allocations: 1.906 MB / 351.5 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1088, allocations: 0.9666 MB / 352.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.109, allocations: 7.938 kB / 352.5 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.1092, allocations: 15.8 kB / 352.5 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.1094, allocations: 23.84 kB / 352.5 MB, free: 1.812 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.0006006/0.11, allocations: 159.7 kB / 352.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.1103, allocations: 215.5 kB / 352.9 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1105, allocations: 64.12 kB / 352.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1106, allocations: 99.62 kB / 353 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005477/0.1112, allocations: 122.3 kB / 353.1 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.099e-05/0.1112, allocations: 20 kB / 353.2 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.1115, allocations: 127.8 kB / 353.3 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.1116, allocations: 63.81 kB / 353.3 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.1117, allocations: 99.39 kB / 353.4 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.1121, allocations: 279.4 kB / 353.7 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.1121, allocations: 4 kB / 353.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1121, allocations: 3.938 kB / 353.7 MB, free: 0.582 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.1122, allocations: 0 / 353.7 MB, free: 0.582 MB / 286.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.001265/0.1134, allocations: 0.5506 MB / 354.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1135, allocations: 12.03 kB / 354.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.1138, allocations: 32.64 kB / 354.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.1141, allocations: 249.6 kB / 354.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.1141, allocations: 16.22 kB / 354.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.1142, allocations: 20 kB / 354.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.1147, allocations: 194.9 kB / 354.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1147, allocations: 0 / 354.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.1147, allocations: 4 kB / 354.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.1147, allocations: 8 kB / 354.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.1152, allocations: 164.3 kB / 355 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.1162, allocations: 0.5745 MB / 355.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1173, allocations: 308.6 kB / 355.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.1176, allocations: 116.8 kB / 355.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1177, allocations: 4 kB / 356 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004/0.1181, allocations: 175.2 kB / 356.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.1181, allocations: 0 / 356.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.000981/0.1191, allocations: 355.2 kB / 356.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.1191, allocations: 55.41 kB / 356.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.1194, allocations: 215.7 kB / 356.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.1194, allocations: 41.69 kB / 356.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/0.1195, allocations: 120.6 kB / 356.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1196, allocations: 78.97 kB / 357 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.1197, allocations: 69.69 kB / 357 MB, free: 13.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1199, allocations: 334.8 kB / 357.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.1202, allocations: 131.9 kB / 357.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.1206, allocations: 162.5 kB / 357.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.1212, allocations: 272.3 kB / 357.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1212, allocations: 0 / 357.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007866/0.122, allocations: 370.8 kB / 358.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.122, allocations: 4 kB / 358.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.122, allocations: 7.922 kB / 358.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.122, allocations: 0 / 358.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.1224, allocations: 71.89 kB / 358.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1224, allocations: 4.031 kB / 358.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.1226, allocations: 39.72 kB / 358.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.1226, allocations: 11.94 kB / 358.4 MB, free: 11.65 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.0001521/0.1228, allocations: 145.6 kB / 358.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.1228, allocations: 15.81 kB / 358.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.709e-05/0.1229, allocations: 25.88 kB / 358.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1229, allocations: 4 kB / 358.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1229, allocations: 0 / 358.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1229, allocations: 3.984 kB / 358.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.124, allocations: 0.6346 MB / 359.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.124, allocations: 0 / 359.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.1243, allocations: 43.95 kB / 359.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1243, allocations: 0 / 359.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.1244, allocations: 4 kB / 359.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1244, allocations: 7.984 kB / 359.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1244, allocations: 0 / 359.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009968/0.1254, allocations: 492.8 kB / 359.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.1255, allocations: 96.86 kB / 359.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.1255, allocations: 12.17 kB / 359.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.1257, allocations: 15.98 kB / 359.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.1258, allocations: 23.95 kB / 359.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1258, allocations: 4 kB / 359.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.1259, allocations: 155.1 kB / 360.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1259, allocations: 4 kB / 360.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.1263, allocations: 67.89 kB / 360.2 MB, free: 9.816 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 (18): * Single equations (assignments): 16 * 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.0004295/0.1267, allocations: 190 kB / 360.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007545/0.1275, allocations: 299.6 kB / 360.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1275, allocations: 4 kB / 360.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.1278, allocations: 119.9 kB / 360.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1282, allocations: 26.34 kB / 360.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/0.129, allocations: 0.5046 MB / 361.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1293, allocations: 0.7359 MB / 362 MB, free: 7.922 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.1295, allocations: 41.91 kB / 362.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.99e-05/0.1295, allocations: 31.36 kB / 362.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1296, allocations: 0 / 362.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of Templates: time 0.006236/0.1358, allocations: 2.907 MB / 365 MB, free: 4.953 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches