Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 176.5 kB / 17.4 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 241.4 MB, free: 9.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 100.6 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005108/0.0005108, allocations: 19.92 kB / 352.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3178, allocations: 50.41 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.4683, allocations: 79.2 MB / 481.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/0.4688, allocations: 75.95 kB / 482 MB, free: 1.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02595/0.4947, allocations: 5.201 MB / 487.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4948, allocations: 4 kB / 487.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.4948, allocations: 4 kB / 487.2 MB, free: 11.84 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.001366/0.4962, allocations: 0.5326 MB / 487.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.4963, allocations: 8.031 kB / 487.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.4966, allocations: 32.73 kB / 487.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.497, allocations: 257.5 kB / 488.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.416e-05/0.4971, allocations: 16.66 kB / 488.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/0.4972, allocations: 20.38 kB / 488.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008024/0.498, allocations: 215.4 kB / 488.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.498, allocations: 192 / 488.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.4981, allocations: 7.938 kB / 488.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.4981, allocations: 4 kB / 488.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008087/0.4989, allocations: 180.4 kB / 488.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.5005, allocations: 0.5864 MB / 489.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.5023, allocations: 386.5 kB / 489.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/0.5029, allocations: 136 kB / 489.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.5029, allocations: 4.062 kB / 489.6 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006398/0.5036, allocations: 187.2 kB / 489.8 MB, free: 9.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.586e-06/0.5036, allocations: 4 kB / 489.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001732/0.5054, allocations: 411.9 kB / 490.2 MB, free: 8.715 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.5054, allocations: 59.39 kB / 490.2 MB, free: 8.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.5058, allocations: 211.8 kB / 490.4 MB, free: 8.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.5059, allocations: 37.7 kB / 490.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.506, allocations: 128.5 kB / 490.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.5061, allocations: 82.92 kB / 490.7 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.5062, allocations: 4 kB / 490.7 MB, free: 8.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5063, allocations: 334.8 kB / 491 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/0.507, allocations: 143.9 kB / 491.2 MB, free: 7.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.5076, allocations: 174.2 kB / 491.3 MB, free: 7.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.5088, allocations: 300.6 kB / 491.6 MB, free: 7.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5088, allocations: 0 / 491.6 MB, free: 7.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001406/0.5102, allocations: 403.4 kB / 492 MB, free: 6.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.5103, allocations: 4 kB / 492 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.5103, allocations: 0 / 492 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.5103, allocations: 7.938 kB / 492 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.5109, allocations: 83.88 kB / 492.1 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.5109, allocations: 3.984 kB / 492.1 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.5113, allocations: 47.72 kB / 492.2 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/0.5113, allocations: 11.94 kB / 492.2 MB, free: 6.66 MB / 362.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.0002283/0.5116, allocations: 150.5 kB / 492.3 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.5117, allocations: 23.66 kB / 492.3 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.5118, allocations: 17.88 kB / 492.4 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5118, allocations: 3.938 kB / 492.4 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5118, allocations: 4 kB / 492.4 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.5118, allocations: 3.984 kB / 492.4 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.5139, allocations: 0.6816 MB / 493.1 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.5139, allocations: 3.984 kB / 493.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.5144, allocations: 51.91 kB / 493.1 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.5144, allocations: 0 / 493.1 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.5145, allocations: 15.98 kB / 493.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.5145, allocations: 0 / 493.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5145, allocations: 0 / 493.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.5161, allocations: 0.5304 MB / 493.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.5163, allocations: 104.7 kB / 493.8 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.5163, allocations: 8.062 kB / 493.8 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.5166, allocations: 31.91 kB / 493.8 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.437e-05/0.5167, allocations: 15.98 kB / 493.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.5168, allocations: 7.984 kB / 493.8 MB, free: 4.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002346/0.517, allocations: 155.1 kB / 494 MB, free: 4.758 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.517, allocations: 0 / 494 MB, free: 4.758 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007082/0.5177, allocations: 83.92 kB / 494.1 MB, free: 4.676 MB / 362.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.0007328/0.5185, allocations: 227.6 kB / 494.3 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.5197, allocations: 346 kB / 494.6 MB, free: 4.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5198, allocations: 0 / 494.6 MB, free: 4.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004792/0.5202, allocations: 131.9 kB / 494.7 MB, free: 4.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.5208, allocations: 34.83 kB / 494.8 MB, free: 3.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.5222, allocations: 0.5147 MB / 495.3 MB, free: 3.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.5226, allocations: 0.7398 MB / 496 MB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.5229, allocations: 33.92 kB / 496.1 MB, free: 2.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.523, allocations: 27.42 kB / 496.1 MB, free: 2.613 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.523, allocations: 3.938 kB / 496.1 MB, free: 2.609 MB / 362.7 MB Notification: Performance of Templates: time 0.01253/0.5356, allocations: 3.064 MB / 499.2 MB, free: 15.56 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches