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.001099/0.001099, allocations: 181.2 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009252/0.000925, allocations: 86.66 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.0002891, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.297, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.4125, allocations: 78.98 MB / 454.8 MB, free: 1.691 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.4128, allocations: 75.95 kB / 454.9 MB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01986/0.4327, allocations: 6.704 MB / 461.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4327, allocations: 3.938 kB / 461.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.4328, allocations: 4 kB / 461.6 MB, free: 10.89 MB / 346.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.001065/0.4338, allocations: 0.5714 MB / 462.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.4339, allocations: 12.03 kB / 462.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.4341, allocations: 27.8 kB / 462.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.4344, allocations: 239.4 kB / 462.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.4345, allocations: 20.17 kB / 462.4 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.4345, allocations: 24 kB / 462.5 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.435, allocations: 210.7 kB / 462.7 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4351, allocations: 0 / 462.7 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.4351, allocations: 8 kB / 462.7 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.4351, allocations: 0 / 462.7 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/0.4356, allocations: 184.4 kB / 462.9 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.4368, allocations: 0.5941 MB / 463.4 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.438, allocations: 378.8 kB / 463.8 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.438, allocations: 0 / 463.8 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004287/0.4384, allocations: 196.3 kB / 464 MB, free: 8.285 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.024e-06/0.4384, allocations: 0 / 464 MB, free: 8.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001112/0.4396, allocations: 493 kB / 464.5 MB, free: 7.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.4396, allocations: 55.78 kB / 464.5 MB, free: 7.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.4398, allocations: 190.9 kB / 464.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.4399, allocations: 37.7 kB / 464.8 MB, free: 7.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.44, allocations: 136.6 kB / 464.9 MB, free: 7.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.221e-05/0.4401, allocations: 74.89 kB / 465 MB, free: 7.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.4401, allocations: 4 kB / 465 MB, free: 7.262 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4403, allocations: 334.8 kB / 465.3 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.4406, allocations: 147.7 kB / 465.5 MB, free: 6.781 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.441, allocations: 170.2 kB / 465.6 MB, free: 6.609 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.4414, allocations: 157.2 kB / 465.8 MB, free: 6.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4414, allocations: 4 kB / 465.8 MB, free: 6.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000871/0.4423, allocations: 404.4 kB / 466.2 MB, free: 6.055 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.4423, allocations: 11.98 kB / 466.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.4423, allocations: 0 / 466.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.4424, allocations: 4 kB / 466.2 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.4427, allocations: 79.89 kB / 466.3 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4427, allocations: 0 / 466.3 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.4429, allocations: 51.72 kB / 466.3 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.443, allocations: 12 kB / 466.3 MB, free: 5.898 MB / 346.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.0001756/0.4432, allocations: 146 kB / 466.5 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.4432, allocations: 23.66 kB / 466.5 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.672e-05/0.4433, allocations: 37.75 kB / 466.5 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4433, allocations: 4 kB / 466.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4433, allocations: 0 / 466.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4433, allocations: 0 / 466.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.4446, allocations: 0.6777 MB / 467.2 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4446, allocations: 3.953 kB / 467.2 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.4449, allocations: 55.95 kB / 467.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4449, allocations: 0 / 467.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.4449, allocations: 11.98 kB / 467.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4449, allocations: 0 / 467.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4449, allocations: 0 / 467.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.446, allocations: 0.5329 MB / 467.8 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.4461, allocations: 100.8 kB / 467.9 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.4461, allocations: 8.062 kB / 467.9 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.4463, allocations: 35.97 kB / 468 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.4464, allocations: 11.98 kB / 468 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.4464, allocations: 7.984 kB / 468 MB, free: 4.148 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.4466, allocations: 143.2 kB / 468.1 MB, free: 4.008 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4466, allocations: 0 / 468.1 MB, free: 4.008 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000619/0.4472, allocations: 127.8 kB / 468.2 MB, free: 3.883 MB / 346.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.0008277/0.4481, allocations: 326.4 kB / 468.6 MB, free: 3.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008403/0.4489, allocations: 350 kB / 468.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.449, allocations: 4.062 kB / 468.9 MB, free: 3.227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.4493, allocations: 142.4 kB / 469 MB, free: 3.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.4496, allocations: 19.98 kB / 469.1 MB, free: 3.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009283/0.4505, allocations: 0.5148 MB / 469.6 MB, free: 2.527 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.4509, allocations: 0.7437 MB / 470.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.451, allocations: 25.94 kB / 470.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.4511, allocations: 31.36 kB / 470.4 MB, free: 1.707 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4511, allocations: 0 / 470.4 MB, free: 1.707 MB / 346.7 MB Notification: Performance of Templates: time 0.007929/0.459, allocations: 3.699 MB / 474.1 MB, free: 14.01 MB / 362.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