Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.346/1.346, allocations: 221.3 MB / 235.5 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008178/0.0008178, allocations: 90 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.722e-05/2.723e-05, allocations: 4 kB / 343.8 MB, free: 4.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09793, allocations: 50.41 MB / 394.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2966/0.3946, allocations: 76.99 MB / 471.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.3948, allocations: 71.8 kB / 471.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01122/0.4061, allocations: 4.192 MB / 475.5 MB, free: 6.324 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4061, allocations: 0 / 475.5 MB, free: 6.324 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.4061, allocations: 0 / 475.5 MB, free: 6.324 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.0004801/0.4066, allocations: 431.3 kB / 475.9 MB, free: 5.859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4067, allocations: 15.97 kB / 475.9 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.4069, allocations: 43.78 kB / 476 MB, free: 5.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4071, allocations: 190.9 kB / 476.2 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.4071, allocations: 0 / 476.2 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.4071, allocations: 11.98 kB / 476.2 MB, free: 5.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.4073, allocations: 99.38 kB / 476.3 MB, free: 5.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.4073, allocations: 3.938 kB / 476.3 MB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4074, allocations: 3.984 kB / 476.3 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4074, allocations: 3.953 kB / 476.3 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.341e-05/0.4075, allocations: 39.92 kB / 476.3 MB, free: 5.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.4081, allocations: 389.6 kB / 476.7 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.4082, allocations: 101.1 kB / 476.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.4083, allocations: 49.86 kB / 476.8 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.4083, allocations: 3.984 kB / 476.9 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.4085, allocations: 137 kB / 477 MB, free: 4.641 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.4085, allocations: 3.938 kB / 477 MB, free: 4.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002977/0.4088, allocations: 169.4 kB / 477.2 MB, free: 4.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.4089, allocations: 97.31 kB / 477.3 MB, free: 4.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.409, allocations: 161.9 kB / 477.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.4091, allocations: 37.7 kB / 477.4 MB, free: 4.145 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.4092, allocations: 112.5 kB / 477.6 MB, free: 4.027 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.4092, allocations: 39.5 kB / 477.6 MB, free: 3.988 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/0.4093, allocations: 8 kB / 477.6 MB, free: 3.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.4093, allocations: 330.8 kB / 477.9 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.4095, allocations: 76.5 kB / 478 MB, free: 3.566 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.4096, allocations: 108.2 kB / 478.1 MB, free: 3.453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.4098, allocations: 91.91 kB / 478.2 MB, free: 3.363 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4098, allocations: 0 / 478.2 MB, free: 3.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003614/0.4102, allocations: 261.3 kB / 478.5 MB, free: 3.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.4102, allocations: 4 kB / 478.5 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.4102, allocations: 8.016 kB / 478.5 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4102, allocations: 4 kB / 478.5 MB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.4104, allocations: 31.91 kB / 478.5 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4104, allocations: 0 / 478.5 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/0.4105, allocations: 23.75 kB / 478.5 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.4105, allocations: 8 kB / 478.5 MB, free: 3.023 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 9.274e-05/0.4106, allocations: 140 kB / 478.7 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.4106, allocations: 7.906 kB / 478.7 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.4107, allocations: 13.53 kB / 478.7 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4107, allocations: 3.953 kB / 478.7 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4107, allocations: 3.984 kB / 478.7 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4107, allocations: 0 / 478.7 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.4109, allocations: 209.5 kB / 478.9 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4109, allocations: 0 / 478.9 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.4109, allocations: 11.98 kB / 478.9 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4109, allocations: 11.94 kB / 478.9 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.411, allocations: 0 / 478.9 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.411, allocations: 0 / 478.9 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.411, allocations: 15.88 kB / 478.9 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.4112, allocations: 208.1 kB / 479.1 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.4113, allocations: 92.91 kB / 479.2 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.4113, allocations: 12 kB / 479.2 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.709e-05/0.4114, allocations: 15.94 kB / 479.3 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.4115, allocations: 11.98 kB / 479.3 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.4115, allocations: 8.094 kB / 479.3 MB, free: 2.168 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.729e-05/0.4116, allocations: 132.2 kB / 479.4 MB, free: 2.039 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4116, allocations: 0 / 479.4 MB, free: 2.039 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002788/0.4119, allocations: 63.86 kB / 479.5 MB, free: 1.977 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.0004438/0.4123, allocations: 229.2 kB / 479.7 MB, free: 1.781 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002946/0.4126, allocations: 223.3 kB / 479.9 MB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4126, allocations: 0 / 479.9 MB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.279e-05/0.4127, allocations: 51.94 kB / 480 MB, free: 1.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.4129, allocations: 4 kB / 480 MB, free: 1.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.4132, allocations: 174.9 kB / 480.1 MB, free: 1.301 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.4134, allocations: 0.724 MB / 480.9 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.009e-05/0.4135, allocations: 12.88 kB / 480.9 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.4135, allocations: 15.44 kB / 480.9 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4135, allocations: 0 / 480.9 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of Templates: time 0.004732/0.4183, allocations: 2.182 MB / 483.1 MB, free: 14.35 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches