Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.54/1.54, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007621/0.0007623, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.173e-05, allocations: 11.97 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3253/0.4271, allocations: 76.04 MB / 446.1 MB, free: 1.203 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.4274, allocations: 70.45 kB / 446.1 MB, free: 1.164 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.4386, allocations: 4.127 MB / 450.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4387, allocations: 0 / 450.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.4387, allocations: 4 kB / 450.3 MB, free: 13.58 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005266/0.4392, allocations: 433.9 kB / 450.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4393, allocations: 12.02 kB / 450.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.4396, allocations: 39.8 kB / 450.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.4397, allocations: 198.8 kB / 450.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.4398, allocations: 3.062 kB / 450.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.4398, allocations: 11.95 kB / 450.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.44, allocations: 100.3 kB / 451 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.44, allocations: 4 kB / 451 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.44, allocations: 0 / 451 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4401, allocations: 0 / 451 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.4401, allocations: 41.92 kB / 451.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.4408, allocations: 397.3 kB / 451.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.441, allocations: 100.6 kB / 451.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.024e-05/0.441, allocations: 48.44 kB / 451.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.4411, allocations: 0 / 451.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.4413, allocations: 135.9 kB / 451.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.4413, allocations: 0 / 451.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003057/0.4416, allocations: 171.1 kB / 451.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.4417, allocations: 92.55 kB / 452 MB, free: 11.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.4418, allocations: 166.1 kB / 452.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.4419, allocations: 43.94 kB / 452.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.442, allocations: 110.1 kB / 452.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.442, allocations: 38.41 kB / 452.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.442, allocations: 7.5 kB / 452.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4421, allocations: 332.8 kB / 452.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.4423, allocations: 74.88 kB / 452.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.4424, allocations: 105.7 kB / 452.9 MB, free: 11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.4426, allocations: 99.08 kB / 453 MB, free: 10.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4426, allocations: 0 / 453 MB, free: 10.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003668/0.443, allocations: 253.7 kB / 453.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.443, allocations: 4 kB / 453.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.443, allocations: 0 / 453.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.443, allocations: 4 kB / 453.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.4432, allocations: 35.17 kB / 453.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4432, allocations: 0 / 453.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.86e-05/0.4433, allocations: 27.3 kB / 453.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.4433, allocations: 15.98 kB / 453.3 MB, free: 10.66 MB / 330.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 0.0001125/0.4434, allocations: 142.4 kB / 453.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.4435, allocations: 11.81 kB / 453.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.4435, allocations: 15.72 kB / 453.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4435, allocations: 0 / 453.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4435, allocations: 0 / 453.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4435, allocations: 11.94 kB / 453.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.4437, allocations: 211.1 kB / 453.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.4437, allocations: 3.953 kB / 453.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.4438, allocations: 11.98 kB / 453.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.4438, allocations: 4 kB / 453.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4438, allocations: 0 / 453.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4438, allocations: 0 / 453.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4438, allocations: 4 kB / 453.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.4441, allocations: 218.4 kB / 453.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.4442, allocations: 88.92 kB / 454 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.4442, allocations: 15.61 kB / 454 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.017e-05/0.4443, allocations: 4 kB / 454 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.4443, allocations: 19.66 kB / 454 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.4444, allocations: 4 kB / 454 MB, free: 9.879 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.015e-05/0.4444, allocations: 126.8 kB / 454.2 MB, free: 9.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4445, allocations: 0 / 454.2 MB, free: 9.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.4448, allocations: 71.23 kB / 454.2 MB, free: 9.707 MB / 330.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.000451/0.4452, allocations: 235.2 kB / 454.5 MB, free: 9.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.4455, allocations: 220.6 kB / 454.7 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4455, allocations: 0 / 454.7 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.425e-05/0.4456, allocations: 54.25 kB / 454.7 MB, free: 9.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.4457, allocations: 10.14 kB / 454.7 MB, free: 9.258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.4461, allocations: 181 kB / 454.9 MB, free: 9.074 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.4464, allocations: 0.7121 MB / 455.6 MB, free: 8.336 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.789e-05/0.4464, allocations: 24.92 kB / 455.7 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.4465, allocations: 15.06 kB / 455.7 MB, free: 8.297 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4465, allocations: 0 / 455.7 MB, free: 8.297 MB / 330.7 MB Notification: Performance of Templates: time 0.004766/0.4513, allocations: 2.229 MB / 457.9 MB, free: 6.078 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches