Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008033/0.0008034, allocations: 90.38 kB / 262.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.235e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09439, allocations: 47.57 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3529/0.4473, allocations: 78.46 MB / 441.5 MB, free: 1.238 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.4475, allocations: 75.7 kB / 441.6 MB, free: 1.199 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01863/0.4662, allocations: 6.623 MB / 448.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4662, allocations: 0 / 448.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.4662, allocations: 8 kB / 448.2 MB, free: 11.54 MB / 330.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.0008021/0.467, allocations: 0.547 MB / 448.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.4671, allocations: 8.031 kB / 448.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.4673, allocations: 38.52 kB / 448.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.4675, allocations: 236.3 kB / 449.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.4675, allocations: 7.953 kB / 449.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.4676, allocations: 15.98 kB / 449.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001865/0.4678, allocations: 96.62 kB / 449.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.468, allocations: 142.8 kB / 449.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.468, allocations: 4 kB / 449.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.4681, allocations: 0 / 449.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.4681, allocations: 4 kB / 449.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008841/0.469, allocations: 0.5463 MB / 449.9 MB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.4695, allocations: 221 kB / 450.1 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.4697, allocations: 77.22 kB / 450.2 MB, free: 9.715 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.4697, allocations: 4 kB / 450.2 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.4699, allocations: 124.4 kB / 450.3 MB, free: 9.602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.4699, allocations: 0 / 450.3 MB, free: 9.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003456/0.4703, allocations: 189.9 kB / 450.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.4703, allocations: 55.59 kB / 450.5 MB, free: 9.383 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.4704, allocations: 167.3 kB / 450.7 MB, free: 9.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.4705, allocations: 41.44 kB / 450.7 MB, free: 9.188 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.4706, allocations: 130 kB / 450.9 MB, free: 9.074 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.4706, allocations: 70.7 kB / 450.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/0.4707, allocations: 0 / 450.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4708, allocations: 333.9 kB / 451.3 MB, free: 8.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.4709, allocations: 84.98 kB / 451.3 MB, free: 8.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.4711, allocations: 107.7 kB / 451.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.4713, allocations: 90.95 kB / 451.5 MB, free: 8.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4713, allocations: 4 kB / 451.5 MB, free: 8.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004508/0.4718, allocations: 276.4 kB / 451.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.4718, allocations: 7.984 kB / 451.8 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4718, allocations: 0 / 451.8 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4718, allocations: 7.953 kB / 451.8 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.4722, allocations: 79.42 kB / 451.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4722, allocations: 0 / 451.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.4723, allocations: 43.72 kB / 451.9 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.4724, allocations: 11.5 kB / 452 MB, free: 8.145 MB / 330.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 () * 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.0001137/0.4725, allocations: 116.9 kB / 452.1 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.4725, allocations: 15.81 kB / 452.1 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.4726, allocations: 21.72 kB / 452.1 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4726, allocations: 7.953 kB / 452.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4726, allocations: 0 / 452.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4726, allocations: 3.984 kB / 452.1 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007647/0.4734, allocations: 0.5378 MB / 452.7 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4734, allocations: 0 / 452.7 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.4737, allocations: 47.95 kB / 452.7 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4737, allocations: 4 kB / 452.7 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.4737, allocations: 11.89 kB / 452.7 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.4737, allocations: 8 kB / 452.7 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4737, allocations: 0 / 452.7 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.4742, allocations: 378.5 kB / 453.1 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.4743, allocations: 100.2 kB / 453.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.4743, allocations: 4 kB / 453.2 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.4745, allocations: 31.92 kB / 453.2 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.4746, allocations: 19.28 kB / 453.2 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.4746, allocations: 4 kB / 453.2 MB, free: 6.926 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.4747, allocations: 127.6 kB / 453.4 MB, free: 6.816 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4747, allocations: 0 / 453.4 MB, free: 6.816 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004933/0.4752, allocations: 126.6 kB / 453.5 MB, free: 6.695 MB / 330.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]) * 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.0007575/0.476, allocations: 324 kB / 453.8 MB, free: 6.379 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.4764, allocations: 222.8 kB / 454 MB, free: 6.215 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4764, allocations: 0 / 454 MB, free: 6.215 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.4765, allocations: 78.36 kB / 454.1 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.4768, allocations: 21.5 kB / 454.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.4773, allocations: 313.6 kB / 454.4 MB, free: 5.852 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.4777, allocations: 0.7472 MB / 455.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.4779, allocations: 25.84 kB / 455.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.478, allocations: 27.42 kB / 455.2 MB, free: 5.035 MB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.478, allocations: 4 kB / 455.2 MB, free: 5.031 MB / 330.7 MB Notification: Performance of Templates: time 0.007391/0.4854, allocations: 3.506 MB / 458.7 MB, free: 1.535 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches