Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 107 kB / 16.62 MB, free: 6.805 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.001949/0.001949, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.438/1.438, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 43.56 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1029, allocations: 49.44 MB / 349.6 MB, free: 4.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003011/0.106, allocations: 1.917 MB / 351.5 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.1079, allocations: 1.236 MB / 352.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.108, allocations: 4 kB / 352.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.1081, allocations: 11.86 kB / 352.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.184e-05/0.1083, allocations: 23.78 kB / 352.8 MB, free: 1.539 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.0008017/0.1091, allocations: 271.5 kB / 353 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1093, allocations: 219.5 kB / 353.2 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1095, allocations: 64.09 kB / 353.3 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.86e-05/0.1096, allocations: 95.61 kB / 353.4 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004718/0.1101, allocations: 131.3 kB / 353.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.1101, allocations: 24 kB / 353.6 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.1105, allocations: 299.5 kB / 353.8 MB, free: 476 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.1106, allocations: 59.78 kB / 353.9 MB, free: 416 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.874e-05/0.1107, allocations: 99.44 kB / 354 MB, free: 316 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.1111, allocations: 395.1 kB / 354.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1111, allocations: 0 / 354.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1111, allocations: 4 kB / 354.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1112, allocations: 0 / 354.4 MB, free: 15.92 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.001026/0.1122, allocations: 0.5662 MB / 355 MB, free: 15.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1122, allocations: 12.03 kB / 355 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.1125, allocations: 32.64 kB / 355 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1127, allocations: 241.6 kB / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.1127, allocations: 24.22 kB / 355.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.1128, allocations: 20 kB / 355.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.1133, allocations: 194.9 kB / 355.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1133, allocations: 0 / 355.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.1133, allocations: 8 kB / 355.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.1133, allocations: 4 kB / 355.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.1138, allocations: 156.4 kB / 355.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.1148, allocations: 0.5745 MB / 356.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1158, allocations: 306.6 kB / 356.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.1161, allocations: 112.8 kB / 356.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1161, allocations: 4 kB / 356.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.1165, allocations: 163.3 kB / 356.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.1165, allocations: 3.938 kB / 356.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009485/0.1175, allocations: 353.1 kB / 357.1 MB, free: 13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.1175, allocations: 67.41 kB / 357.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1177, allocations: 219.6 kB / 357.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.1178, allocations: 37.7 kB / 357.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.1178, allocations: 128.6 kB / 357.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.1179, allocations: 70.91 kB / 357.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.118, allocations: 69.69 kB / 357.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1182, allocations: 334.8 kB / 358 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.1185, allocations: 131.9 kB / 358.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.1189, allocations: 158.5 kB / 358.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006155/0.1195, allocations: 272.3 kB / 358.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1195, allocations: 0 / 358.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007747/0.1203, allocations: 370.8 kB / 358.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1203, allocations: 8 kB / 359 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1204, allocations: 0 / 359 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1204, allocations: 0 / 359 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.1207, allocations: 71.89 kB / 359 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.1207, allocations: 0 / 359 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.1209, allocations: 47.7 kB / 359.1 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.1209, allocations: 11.94 kB / 359.1 MB, free: 10.98 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.0001462/0.1211, allocations: 145.6 kB / 359.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.1211, allocations: 15.81 kB / 359.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.772e-05/0.1212, allocations: 25.86 kB / 359.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1212, allocations: 7.984 kB / 359.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1212, allocations: 0 / 359.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1212, allocations: 4 kB / 359.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.1223, allocations: 0.6346 MB / 359.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1224, allocations: 4 kB / 359.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.1226, allocations: 47.89 kB / 360 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1226, allocations: 3.938 kB / 360 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.1227, allocations: 4 kB / 360 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1227, allocations: 4 kB / 360 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1227, allocations: 0 / 360 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009696/0.1237, allocations: 492.9 kB / 360.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.1237, allocations: 92.86 kB / 360.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.1238, allocations: 12.06 kB / 360.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.124, allocations: 19.97 kB / 360.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.124, allocations: 15.98 kB / 360.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.124, allocations: 7.984 kB / 360.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1242, allocations: 147.2 kB / 360.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1242, allocations: 0 / 360.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004649/0.1247, allocations: 103.8 kB / 360.8 MB, free: 9.121 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.0006306/0.1253, allocations: 261.6 kB / 361.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007422/0.1261, allocations: 307.6 kB / 361.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1261, allocations: 0 / 361.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.1264, allocations: 115.9 kB / 361.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.1267, allocations: 23.98 kB / 361.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008902/0.1276, allocations: 0.5084 MB / 362 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.1281, allocations: 0.732 MB / 362.8 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.1283, allocations: 37.92 kB / 362.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.998e-05/0.1284, allocations: 27.42 kB / 362.8 MB, free: 7.094 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1284, allocations: 0 / 362.8 MB, free: 7.094 MB / 302.1 MB Notification: Performance of Templates: time 0.00718/0.1355, allocations: 3.566 MB / 366.4 MB, free: 3.547 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches