Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 63.8 kB / 306.9 MB, free: 1.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1069, allocations: 50.54 MB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003397/0.1103, allocations: 1.934 MB / 359.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.1127, allocations: 1.333 MB / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.1128, allocations: 0 / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.113, allocations: 11.86 kB / 360.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.1132, allocations: 23.84 kB / 360.7 MB, free: 11.15 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.0008871/0.1141, allocations: 255.4 kB / 361 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.1144, allocations: 207.5 kB / 361.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.1145, allocations: 60.27 kB / 361.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.1147, allocations: 91.61 kB / 361.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000627/0.1153, allocations: 114.3 kB / 361.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.525e-05/0.1154, allocations: 12 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005251/0.1159, allocations: 299.5 kB / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.116, allocations: 47.81 kB / 361.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1161, allocations: 95.39 kB / 361.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.1165, allocations: 275.7 kB / 362.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1165, allocations: 0 / 362.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1165, allocations: 0 / 362.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1166, allocations: 0 / 362.2 MB, free: 9.727 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.001247/0.1178, allocations: 0.574 MB / 362.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1179, allocations: 8.031 kB / 362.7 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.1181, allocations: 36.64 kB / 362.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1184, allocations: 243.7 kB / 363 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.1184, allocations: 16.66 kB / 363 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.1185, allocations: 28.12 kB / 363.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.119, allocations: 194.7 kB / 363.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.119, allocations: 0 / 363.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.1191, allocations: 8 kB / 363.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1191, allocations: 7.984 kB / 363.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.1196, allocations: 157.2 kB / 363.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.1207, allocations: 0.5749 MB / 364 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.1218, allocations: 306.6 kB / 364.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.1222, allocations: 116.8 kB / 364.4 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1222, allocations: 3.984 kB / 364.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004175/0.1226, allocations: 166 kB / 364.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.943e-06/0.1227, allocations: 0 / 364.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001036/0.1237, allocations: 357.1 kB / 364.9 MB, free: 6.793 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.1238, allocations: 59.41 kB / 365 MB, free: 6.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.124, allocations: 226.7 kB / 365.2 MB, free: 6.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.124, allocations: 33.7 kB / 365.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/0.1241, allocations: 136.5 kB / 365.4 MB, free: 6.309 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.1242, allocations: 67 kB / 365.4 MB, free: 6.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.1243, allocations: 73.62 kB / 365.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1245, allocations: 334.8 kB / 365.8 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.1248, allocations: 139.9 kB / 366 MB, free: 5.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.1252, allocations: 157.6 kB / 366.1 MB, free: 5.531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006969/0.1259, allocations: 275.1 kB / 366.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.126, allocations: 0 / 366.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008488/0.1268, allocations: 379.5 kB / 366.8 MB, free: 4.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1268, allocations: 10.97 kB / 366.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1269, allocations: 0 / 366.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1269, allocations: 0 / 366.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.1272, allocations: 75.88 kB / 366.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.1272, allocations: 0 / 366.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.1274, allocations: 47.64 kB / 366.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.1275, allocations: 11.98 kB / 366.9 MB, free: 4.742 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.0001592/0.1276, allocations: 150.5 kB / 367.1 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.1277, allocations: 15.81 kB / 367.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.763e-05/0.1277, allocations: 25.86 kB / 367.1 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1278, allocations: 0 / 367.1 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1278, allocations: 4 kB / 367.1 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.1278, allocations: 0 / 367.1 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.1289, allocations: 0.6229 MB / 367.7 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1289, allocations: 4 kB / 367.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.1292, allocations: 43.95 kB / 367.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.1292, allocations: 0 / 367.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.1292, allocations: 11.94 kB / 367.8 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1292, allocations: 3.984 kB / 367.8 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1292, allocations: 0 / 367.8 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.1303, allocations: 483.4 kB / 368.3 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.1304, allocations: 88.92 kB / 368.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.1304, allocations: 16 kB / 368.4 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.1306, allocations: 19.97 kB / 368.4 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.1307, allocations: 19.97 kB / 368.4 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.1307, allocations: 4 kB / 368.4 MB, free: 3.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1309, allocations: 152.7 kB / 368.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1309, allocations: 0 / 368.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004419/0.1313, allocations: 111.8 kB / 368.7 MB, free: 2.887 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.0006612/0.132, allocations: 269.4 kB / 368.9 MB, free: 2.637 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000761/0.1328, allocations: 278.4 kB / 369.2 MB, free: 2.367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1328, allocations: 0 / 369.2 MB, free: 2.367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.1331, allocations: 115.9 kB / 369.3 MB, free: 2.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1335, allocations: 35.88 kB / 369.3 MB, free: 2.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009852/0.1345, allocations: 0.536 MB / 369.9 MB, free: 1.656 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1348, allocations: 0.7359 MB / 370.6 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/0.1349, allocations: 27.42 kB / 370.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1349, allocations: 0 / 370.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of Templates: time 0.159/0.2939, allocations: 4.106 MB / 374.8 MB, free: 19.4 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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