Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.UniformNoiseProperties,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.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001686, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001114, allocations: 96.09 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.741e-05, allocations: 4 kB / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 51.47 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3283/0.4337, allocations: 79.24 MB / 474.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.4339, allocations: 72.97 kB / 474.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0143/0.4482, allocations: 5.219 MB / 479.7 MB, free: 9.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4483, allocations: 4 kB / 479.7 MB, free: 9.492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4483, allocations: 4 kB / 479.7 MB, free: 9.488 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.0007024/0.449, allocations: 0.5106 MB / 480.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4491, allocations: 12.03 kB / 480.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.4492, allocations: 35.7 kB / 480.3 MB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.4495, allocations: 237.1 kB / 480.5 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.4495, allocations: 8 kB / 480.5 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.4496, allocations: 11.94 kB / 480.5 MB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001902/0.4498, allocations: 104.5 kB / 480.6 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.45, allocations: 146.6 kB / 480.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.45, allocations: 0 / 480.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.45, allocations: 0 / 480.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4501, allocations: 4 kB / 480.8 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008558/0.4509, allocations: 0.5441 MB / 481.3 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.4514, allocations: 218.6 kB / 481.5 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4516, allocations: 78.83 kB / 481.6 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.4516, allocations: 0 / 481.6 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.4518, allocations: 134.3 kB / 481.7 MB, free: 7.602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.512e-06/0.4518, allocations: 0 / 481.7 MB, free: 7.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003156/0.4521, allocations: 187.6 kB / 481.9 MB, free: 7.449 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.4521, allocations: 58.97 kB / 482 MB, free: 7.383 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4523, allocations: 173.5 kB / 482.1 MB, free: 7.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.4523, allocations: 37.06 kB / 482.2 MB, free: 7.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.4524, allocations: 125.4 kB / 482.3 MB, free: 7.078 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.4524, allocations: 69 kB / 482.4 MB, free: 7.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.4525, allocations: 3.938 kB / 482.4 MB, free: 7.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.4525, allocations: 334.1 kB / 482.7 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.4526, allocations: 82.36 kB / 482.8 MB, free: 6.641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.4528, allocations: 110.8 kB / 482.9 MB, free: 6.562 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.453, allocations: 100.4 kB / 483 MB, free: 6.492 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.453, allocations: 0 / 483 MB, free: 6.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003795/0.4534, allocations: 264.3 kB / 483.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4534, allocations: 4 kB / 483.2 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4534, allocations: 3.984 kB / 483.2 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4534, allocations: 7.953 kB / 483.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.4537, allocations: 83.34 kB / 483.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.4537, allocations: 0 / 483.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.4539, allocations: 39.73 kB / 483.4 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.4539, allocations: 11.98 kB / 483.4 MB, free: 6.152 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 () * 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 8.406e-05/0.454, allocations: 121.3 kB / 483.5 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.4541, allocations: 17.97 kB / 483.5 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.4541, allocations: 16.52 kB / 483.5 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4541, allocations: 4 kB / 483.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4541, allocations: 3.953 kB / 483.5 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4541, allocations: 3.938 kB / 483.5 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006701/0.4548, allocations: 0.5337 MB / 484.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4548, allocations: 0 / 484.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.4551, allocations: 55.95 kB / 484.1 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4551, allocations: 0 / 484.1 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.4551, allocations: 11.94 kB / 484.1 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4551, allocations: 0 / 484.1 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4551, allocations: 3.938 kB / 484.1 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.4555, allocations: 376.8 kB / 484.5 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.4556, allocations: 88.92 kB / 484.6 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.4556, allocations: 11.3 kB / 484.6 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.4558, allocations: 31.94 kB / 484.6 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.4559, allocations: 11.97 kB / 484.7 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.4559, allocations: 11.5 kB / 484.7 MB, free: 4.961 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.395e-05/0.456, allocations: 125.5 kB / 484.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.456, allocations: 0 / 484.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003883/0.4564, allocations: 78.83 kB / 484.9 MB, free: 4.777 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]) * 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.0004717/0.4568, allocations: 225.1 kB / 485.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000343/0.4572, allocations: 227 kB / 485.3 MB, free: 4.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4572, allocations: 0 / 485.3 MB, free: 4.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.4573, allocations: 78.05 kB / 485.4 MB, free: 4.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.4576, allocations: 21.8 kB / 485.4 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.4581, allocations: 309.8 kB / 485.7 MB, free: 4.074 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.4583, allocations: 0.7474 MB / 486.5 MB, free: 3.305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.4584, allocations: 29.05 kB / 486.5 MB, free: 3.281 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.383e-05/0.4585, allocations: 23.42 kB / 486.5 MB, free: 3.258 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4585, allocations: 0 / 486.5 MB, free: 3.258 MB / 346.7 MB Notification: Performance of Templates: time 0.005212/0.4637, allocations: 2.896 MB / 489.4 MB, free: 424 kB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches