Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.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.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001337, allocations: 109.6 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.001456/0.001456, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.347/1.347, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 68.06 kB / 307.9 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.09701, allocations: 50.53 MB / 358.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003215/0.1003, allocations: 1.871 MB / 360.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1025, allocations: 1.302 MB / 361.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.1025, allocations: 0 / 361.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.1027, allocations: 23.73 kB / 361.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.1028, allocations: 35.72 kB / 361.7 MB, free: 10.73 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0008138/0.1036, allocations: 303.1 kB / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1039, allocations: 215.5 kB / 362.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.104, allocations: 76.17 kB / 362.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.1042, allocations: 95.62 kB / 362.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/0.1047, allocations: 128.9 kB / 362.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.1048, allocations: 20 kB / 362.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/0.1052, allocations: 275.6 kB / 362.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.1053, allocations: 55.81 kB / 362.8 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1054, allocations: 103.4 kB / 362.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.1059, allocations: 387.2 kB / 363.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.106, allocations: 0 / 363.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.106, allocations: 0 / 363.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.106, allocations: 0 / 363.3 MB, free: 9.109 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.00112/0.1071, allocations: 0.5817 MB / 363.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1071, allocations: 12.03 kB / 363.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.1074, allocations: 28.66 kB / 363.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.1076, allocations: 248.6 kB / 364.1 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.1077, allocations: 12.66 kB / 364.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.1077, allocations: 28.11 kB / 364.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.1082, allocations: 199.1 kB / 364.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1083, allocations: 7.984 kB / 364.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1083, allocations: 7.938 kB / 364.4 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1083, allocations: 4 kB / 364.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/0.1088, allocations: 152.4 kB / 364.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1099, allocations: 0.5711 MB / 365.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.111, allocations: 310.6 kB / 365.4 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.1113, allocations: 112.7 kB / 365.5 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1113, allocations: 7.984 kB / 365.5 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004153/0.1117, allocations: 167.2 kB / 365.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.1118, allocations: 0 / 365.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001031/0.1128, allocations: 357.1 kB / 366 MB, free: 6.164 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1129, allocations: 55.41 kB / 366.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1131, allocations: 222.7 kB / 366.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.1131, allocations: 41.7 kB / 366.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1132, allocations: 128.5 kB / 366.5 MB, free: 5.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.1133, allocations: 71 kB / 366.6 MB, free: 5.617 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.1134, allocations: 73.67 kB / 366.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1136, allocations: 330.8 kB / 366.9 MB, free: 5.207 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.114, allocations: 135.9 kB / 367.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.1143, allocations: 157.6 kB / 367.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.115, allocations: 275.2 kB / 367.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.115, allocations: 0 / 367.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008622/0.1159, allocations: 379.5 kB / 367.9 MB, free: 4.266 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1159, allocations: 7.938 kB / 367.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1159, allocations: 4.031 kB / 367.9 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.116, allocations: 4 kB / 367.9 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.1163, allocations: 71.88 kB / 368 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1163, allocations: 7.938 kB / 368 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.1165, allocations: 43.66 kB / 368 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.1165, allocations: 8 kB / 368 MB, free: 4.121 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.0001499/0.1167, allocations: 153.6 kB / 368.2 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1167, allocations: 23.73 kB / 368.2 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.538e-05/0.1168, allocations: 17.88 kB / 368.2 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1168, allocations: 4 kB / 368.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1168, allocations: 0 / 368.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1168, allocations: 3.984 kB / 368.2 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.1179, allocations: 0.62 MB / 368.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.118, allocations: 0 / 368.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.1182, allocations: 43.89 kB / 368.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1182, allocations: 0 / 368.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.1183, allocations: 15.98 kB / 368.9 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1183, allocations: 0 / 368.9 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1183, allocations: 0 / 368.9 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.1193, allocations: 480.5 kB / 369.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.1194, allocations: 88.92 kB / 369.4 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.1195, allocations: 19.98 kB / 369.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.1197, allocations: 11.98 kB / 369.5 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.1197, allocations: 19.97 kB / 369.5 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1197, allocations: 8 kB / 369.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1199, allocations: 152.7 kB / 369.7 MB, free: 2.375 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.1199, allocations: 0 / 369.7 MB, free: 2.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004181/0.1203, allocations: 119.8 kB / 369.8 MB, free: 2.258 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.0006497/0.121, allocations: 257.3 kB / 370 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008253/0.1218, allocations: 295.7 kB / 370.3 MB, free: 1.738 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1218, allocations: 7.875 kB / 370.3 MB, free: 1.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.1222, allocations: 111.9 kB / 370.4 MB, free: 1.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.1225, allocations: 31.88 kB / 370.5 MB, free: 1.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009868/0.1235, allocations: 492.4 kB / 370.9 MB, free: 1.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.1239, allocations: 0.7398 MB / 371.7 MB, free: 324 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.396e-05/0.124, allocations: 23.44 kB / 371.7 MB, free: 300 kB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.124, allocations: 0 / 371.7 MB, free: 300 kB / 302.1 MB Notification: Performance of Templates: time 0.1413/0.2653, allocations: 4.104 MB / 375.8 MB, free: 19.07 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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