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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 195.7 kB / 18.1 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008041/0.000804, allocations: 101.3 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2651, allocations: 51.29 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.3677, allocations: 80.55 MB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.3681, allocations: 79.95 kB / 490 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02106/0.3892, allocations: 6.819 MB / 496.8 MB, free: 4.035 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3892, allocations: 0 / 496.8 MB, free: 4.035 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.3892, allocations: 8 kB / 496.8 MB, free: 4.027 MB / 362.7 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.001193/0.3904, allocations: 0.5677 MB / 497.4 MB, free: 3.402 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3905, allocations: 8.031 kB / 497.4 MB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.3908, allocations: 32.66 kB / 497.4 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.3911, allocations: 245.5 kB / 497.7 MB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.3912, allocations: 24.64 kB / 497.7 MB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.3912, allocations: 16.38 kB / 497.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.3917, allocations: 224 kB / 497.9 MB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3918, allocations: 192 / 497.9 MB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.3918, allocations: 7.938 kB / 497.9 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3918, allocations: 7.984 kB / 498 MB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.3923, allocations: 177 kB / 498.1 MB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3934, allocations: 0.5903 MB / 498.7 MB, free: 1.996 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.3947, allocations: 370.6 kB / 499.1 MB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.395, allocations: 136.8 kB / 499.2 MB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.395, allocations: 0 / 499.2 MB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000457/0.3955, allocations: 202.5 kB / 499.4 MB, free: 1.281 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.445e-06/0.3955, allocations: 0 / 499.4 MB, free: 1.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001033/0.3966, allocations: 409.1 kB / 499.8 MB, free: 0.875 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.3966, allocations: 59.39 kB / 499.9 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.3969, allocations: 199.9 kB / 0.4883 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.397, allocations: 41.7 kB / 0.4884 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.3971, allocations: 132.6 kB / 0.4885 GB, free: 428 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.323e-05/0.3972, allocations: 74.94 kB / 0.4886 GB, free: 352 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.3972, allocations: 8 kB / 0.4886 GB, free: 344 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3973, allocations: 338.9 kB / 0.4889 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.3977, allocations: 147.8 kB / 0.489 GB, free: 15.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.3981, allocations: 170.2 kB / 0.4892 GB, free: 15.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006676/0.3987, allocations: 288.6 kB / 0.4895 GB, free: 15.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3988, allocations: 8 kB / 0.4895 GB, free: 15.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008657/0.3996, allocations: 402.8 kB / 0.4899 GB, free: 14.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.3997, allocations: 12.02 kB / 0.4899 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.3997, allocations: 4 kB / 0.4899 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3997, allocations: 0 / 0.4899 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.4, allocations: 71.89 kB / 0.49 GB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.4001, allocations: 7.984 kB / 0.49 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.4003, allocations: 55.66 kB / 0.49 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.4003, allocations: 12 kB / 0.49 GB, free: 14.83 MB / 378.7 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): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001588/0.4005, allocations: 137.8 kB / 0.4902 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.4005, allocations: 23.66 kB / 0.4902 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.4006, allocations: 29.86 kB / 0.4902 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4006, allocations: 4 kB / 0.4902 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4006, allocations: 0 / 0.4902 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4006, allocations: 0 / 0.4902 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.4018, allocations: 0.6815 MB / 0.4909 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.4019, allocations: 8 kB / 0.4909 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.4021, allocations: 55.95 kB / 0.4909 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.4021, allocations: 0 / 0.4909 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.4022, allocations: 4 kB / 0.491 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.4022, allocations: 3.984 kB / 0.491 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4022, allocations: 3.984 kB / 0.491 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009879/0.4032, allocations: 0.533 MB / 0.4915 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.4033, allocations: 104.8 kB / 0.4916 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.4033, allocations: 8.062 kB / 0.4916 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.4035, allocations: 35.91 kB / 0.4916 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.4036, allocations: 11.98 kB / 0.4916 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.4036, allocations: 7.984 kB / 0.4916 GB, free: 13.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.4037, allocations: 151.1 kB / 0.4918 GB, free: 12.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4037, allocations: 4 kB / 0.4918 GB, free: 12.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005476/0.4043, allocations: 127.8 kB / 0.4919 GB, free: 12.8 MB / 378.7 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.0009146/0.4052, allocations: 318.4 kB / 0.4922 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007858/0.406, allocations: 345.8 kB / 0.4925 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.406, allocations: 0 / 0.4925 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.4063, allocations: 138.2 kB / 0.4927 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4067, allocations: 22.47 kB / 0.4927 GB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009469/0.4077, allocations: 0.5264 MB / 0.4932 GB, free: 11.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.408, allocations: 0.7437 MB / 0.4939 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.4081, allocations: 37.86 kB / 0.494 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/0.4082, allocations: 23.44 kB / 0.494 GB, free: 10.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4082, allocations: 0 / 0.494 GB, free: 10.64 MB / 378.7 MB Notification: Performance of Templates: time 0.008266/0.4165, allocations: 3.795 MB / 0.4977 GB, free: 6.863 MB / 378.7 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","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches