Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001007, allocations: 198.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.391/1.391, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 98.66 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.476e-05/1.478e-05, allocations: 4 kB / 343.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 51.48 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5288, allocations: 77.13 MB / 472.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.5291, allocations: 70.55 kB / 472.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01117/0.5402, allocations: 4.171 MB / 476.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5403, allocations: 0 / 476.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.5403, allocations: 4 kB / 476.5 MB, free: 12.05 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005611/0.5409, allocations: 441.3 kB / 477 MB, free: 11.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.5409, allocations: 8.031 kB / 477 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.5412, allocations: 39.31 kB / 477 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.5414, allocations: 184.5 kB / 477.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.5414, allocations: 1.359 kB / 477.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.5414, allocations: 8 kB / 477.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.609e-05/0.5415, allocations: 40.28 kB / 477.2 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.5417, allocations: 111.5 kB / 477.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5417, allocations: 0 / 477.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.5417, allocations: 1.547 kB / 477.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5417, allocations: 3.984 kB / 477.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.5423, allocations: 363.8 kB / 477.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.5424, allocations: 97.64 kB / 477.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.5425, allocations: 45.55 kB / 477.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.5425, allocations: 0 / 477.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.5427, allocations: 129.1 kB / 478 MB, free: 10.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.5427, allocations: 0 / 478 MB, free: 10.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002705/0.543, allocations: 163.4 kB / 478.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.543, allocations: 95.7 kB / 478.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.5431, allocations: 151.1 kB / 478.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.5432, allocations: 42.59 kB / 478.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.5433, allocations: 112.8 kB / 478.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.5433, allocations: 43.55 kB / 478.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.5433, allocations: 0 / 478.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.848e-05/0.5434, allocations: 326.6 kB / 478.9 MB, free: 9.859 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.5435, allocations: 74.03 kB / 479 MB, free: 9.812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.5436, allocations: 100.1 kB / 479.1 MB, free: 9.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.5438, allocations: 92.52 kB / 479.2 MB, free: 9.695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5438, allocations: 4 kB / 479.2 MB, free: 9.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003686/0.5442, allocations: 236 kB / 479.4 MB, free: 9.535 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5442, allocations: 5.5 kB / 479.4 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.5443, allocations: 7.938 kB / 479.4 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5443, allocations: 0 / 479.4 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.5444, allocations: 24.88 kB / 479.4 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5445, allocations: 4 kB / 479.4 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.66e-05/0.5445, allocations: 26.2 kB / 479.5 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.5446, allocations: 11.56 kB / 479.5 MB, free: 9.469 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.603e-05/0.5447, allocations: 126.5 kB / 479.6 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.5447, allocations: 15.77 kB / 479.6 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.5447, allocations: 15.61 kB / 479.6 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5448, allocations: 1.641 kB / 479.6 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5448, allocations: 0 / 479.6 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5448, allocations: 8 kB / 479.6 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.5449, allocations: 176.4 kB / 479.8 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5449, allocations: 4 kB / 479.8 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.545, allocations: 10.39 kB / 479.8 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.545, allocations: 96 / 479.8 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.545, allocations: 8.641 kB / 479.8 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.545, allocations: 8.781 kB / 479.8 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.545, allocations: 3.984 kB / 479.8 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.5453, allocations: 210.8 kB / 480 MB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.5453, allocations: 97 kB / 480.1 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.5454, allocations: 14.2 kB / 480.2 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.5454, allocations: 10.72 kB / 480.2 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.5455, allocations: 9.062 kB / 480.2 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.5455, allocations: 5.078 kB / 480.2 MB, free: 8.793 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.851e-05/0.5456, allocations: 121.4 kB / 480.3 MB, free: 8.691 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5456, allocations: 0 / 480.3 MB, free: 8.691 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.5459, allocations: 58.25 kB / 480.4 MB, free: 8.641 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004834/0.5464, allocations: 230.9 kB / 480.6 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.5467, allocations: 211.9 kB / 480.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5467, allocations: 3.938 kB / 480.8 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.5468, allocations: 46.97 kB / 480.8 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.5469, allocations: 14.97 kB / 480.8 MB, free: 8.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.5473, allocations: 164.7 kB / 481 MB, free: 8.117 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.5474, allocations: 0.713 MB / 481.7 MB, free: 7.395 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.196e-05/0.5475, allocations: 17.77 kB / 481.7 MB, free: 7.379 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.5475, allocations: 17.22 kB / 481.8 MB, free: 7.363 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5475, allocations: 0 / 481.8 MB, free: 7.363 MB / 346.7 MB Notification: Performance of Templates: time 0.004414/0.5519, allocations: 2.105 MB / 483.9 MB, free: 5.332 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches