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.001472/0.001473, allocations: 94.55 kB / 16.3 MB, free: 5.992 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.001664/0.001665, allocations: 181.3 kB / 17.19 MB, free: 5.906 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.403/1.403, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002652/0.0002653, allocations: 7.094 kB / 300.7 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1077, allocations: 50.43 MB / 351.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.001996/0.1098, allocations: 1.511 MB / 352.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1116, allocations: 1.182 MB / 353.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.953e-05/0.1117, allocations: 4 kB / 353.8 MB, free: 9.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.435e-05/0.1118, allocations: 15.86 kB / 353.9 MB, free: 9.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.738e-05/0.1119, allocations: 27.89 kB / 353.9 MB, free: 8.992 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.0006884/0.1126, allocations: 235.4 kB / 354.1 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.1128, allocations: 123.7 kB / 354.2 MB, free: 8.641 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.1129, allocations: 52.12 kB / 354.3 MB, free: 8.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.245e-05/0.113, allocations: 79.72 kB / 354.4 MB, free: 8.512 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.1132, allocations: 91.59 kB / 354.5 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.1132, allocations: 8 kB / 354.5 MB, free: 8.414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.1136, allocations: 271.6 kB / 354.7 MB, free: 8.148 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.1137, allocations: 43.83 kB / 354.8 MB, free: 8.105 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.1137, allocations: 57.58 kB / 354.8 MB, free: 8.043 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1141, allocations: 263.4 kB / 355.1 MB, free: 7.785 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1141, allocations: 0 / 355.1 MB, free: 7.785 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1141, allocations: 0 / 355.1 MB, free: 7.785 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1141, allocations: 0 / 355.1 MB, free: 7.785 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.001014/0.1152, allocations: 0.5621 MB / 355.6 MB, free: 7.172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1152, allocations: 12.03 kB / 355.7 MB, free: 7.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.1154, allocations: 31.7 kB / 355.7 MB, free: 7.129 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.1157, allocations: 231.6 kB / 355.9 MB, free: 6.863 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.1157, allocations: 20.27 kB / 355.9 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.1157, allocations: 16 kB / 355.9 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.1162, allocations: 210.9 kB / 356.2 MB, free: 6.617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1162, allocations: 0 / 356.2 MB, free: 6.617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.1163, allocations: 11.98 kB / 356.2 MB, free: 6.605 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1163, allocations: 3.953 kB / 356.2 MB, free: 6.602 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.1168, allocations: 188.3 kB / 356.4 MB, free: 6.418 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.1178, allocations: 0.5786 MB / 356.9 MB, free: 5.789 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.1189, allocations: 378.7 kB / 357.3 MB, free: 5.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1189, allocations: 8 kB / 357.3 MB, free: 5.402 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004131/0.1194, allocations: 185.3 kB / 357.5 MB, free: 5.211 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.1194, allocations: 0 / 357.5 MB, free: 5.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001139/0.1205, allocations: 498.3 kB / 358 MB, free: 4.703 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.1206, allocations: 63.47 kB / 358 MB, free: 4.629 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1208, allocations: 207.8 kB / 358.2 MB, free: 4.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.1209, allocations: 45.62 kB / 358.3 MB, free: 4.359 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.121, allocations: 128.5 kB / 358.4 MB, free: 4.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.099e-05/0.121, allocations: 67 kB / 358.5 MB, free: 4.164 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.1211, allocations: 12 kB / 358.5 MB, free: 4.152 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1212, allocations: 330.8 kB / 358.8 MB, free: 3.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.1216, allocations: 147.9 kB / 359 MB, free: 3.676 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.1219, allocations: 177.6 kB / 359.1 MB, free: 3.496 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.1223, allocations: 154.9 kB / 359.3 MB, free: 3.348 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1223, allocations: 0 / 359.3 MB, free: 3.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007954/0.1231, allocations: 414.5 kB / 359.7 MB, free: 2.938 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1231, allocations: 4 kB / 359.7 MB, free: 2.934 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1231, allocations: 0 / 359.7 MB, free: 2.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1231, allocations: 8 kB / 359.7 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.1234, allocations: 79.88 kB / 359.8 MB, free: 2.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1235, allocations: 0 / 359.8 MB, free: 2.848 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.1236, allocations: 59.61 kB / 359.8 MB, free: 2.789 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.1237, allocations: 11.98 kB / 359.8 MB, free: 2.777 MB / 286.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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.1238, allocations: 145.6 kB / 360 MB, free: 2.625 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.1239, allocations: 23.7 kB / 360 MB, free: 2.602 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.1239, allocations: 17.88 kB / 360 MB, free: 2.586 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1239, allocations: 3.984 kB / 360 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1239, allocations: 4 kB / 360 MB, free: 2.578 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.124, allocations: 3.984 kB / 360 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.1251, allocations: 0.6738 MB / 360.7 MB, free: 1.844 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1251, allocations: 8 kB / 360.7 MB, free: 1.836 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.1254, allocations: 51.95 kB / 360.8 MB, free: 1.785 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.1254, allocations: 0 / 360.8 MB, free: 1.785 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.1254, allocations: 11.94 kB / 360.8 MB, free: 1.773 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1254, allocations: 3.984 kB / 360.8 MB, free: 1.77 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1254, allocations: 7.891 kB / 360.8 MB, free: 1.762 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.1264, allocations: 0.5257 MB / 361.3 MB, free: 1.223 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.1265, allocations: 104.8 kB / 361.4 MB, free: 1.102 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.1266, allocations: 4 kB / 361.4 MB, free: 1.098 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.1267, allocations: 35.97 kB / 361.5 MB, free: 1.062 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.1268, allocations: 15.94 kB / 361.5 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1268, allocations: 8 kB / 361.5 MB, free: 1.039 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.127, allocations: 151.2 kB / 361.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.127, allocations: 0 / 361.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.1274, allocations: 99.92 kB / 361.7 MB, free: 0.793 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006207/0.128, allocations: 254.9 kB / 362 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007417/0.1288, allocations: 316.3 kB / 362.3 MB, free: 260 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1288, allocations: 0 / 362.3 MB, free: 260 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.1291, allocations: 135.9 kB / 362.4 MB, free: 124 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1294, allocations: 19.98 kB / 362.4 MB, free: 104 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009087/0.1303, allocations: 0.5148 MB / 363 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.1307, allocations: 0.7437 MB / 363.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.1308, allocations: 33.92 kB / 363.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.1309, allocations: 23.42 kB / 363.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1309, allocations: 0 / 363.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of Templates: time 0.006924/0.1378, allocations: 3.353 MB / 367.1 MB, free: 11.4 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","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches