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.001809/0.001809, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.324/1.324, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0008764/0.0008765, allocations: 91.22 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002641, allocations: 11.94 kB / 351.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2631, allocations: 50.41 MB / 401.5 MB, free: 32.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09914/0.3623, allocations: 77.06 MB / 478.6 MB, free: 3.465 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.3626, allocations: 79.88 kB / 478.6 MB, free: 3.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.3741, allocations: 4.2 MB / 482.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3742, allocations: 0 / 482.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3742, allocations: 4 kB / 482.8 MB, free: 15.16 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006165/0.3748, allocations: 463.2 kB / 483.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3748, allocations: 8.031 kB / 483.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.3751, allocations: 39.78 kB / 483.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.3753, allocations: 194.8 kB / 483.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.3754, allocations: 15.91 kB / 483.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.3754, allocations: 8 kB / 483.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.3757, allocations: 115.3 kB / 483.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3757, allocations: 0 / 483.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3757, allocations: 0 / 483.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3757, allocations: 7.953 kB / 483.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.3759, allocations: 71.89 kB / 483.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/0.3767, allocations: 373.5 kB / 484.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.377, allocations: 145.1 kB / 484.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.377, allocations: 0 / 484.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.3773, allocations: 148.9 kB / 484.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.3773, allocations: 0 / 484.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006403/0.378, allocations: 415.5 kB / 484.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.378, allocations: 89.11 kB / 484.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3782, allocations: 174.2 kB / 485.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.425e-05/0.3783, allocations: 41.69 kB / 485.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.67e-05/0.3784, allocations: 112.5 kB / 485.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.3785, allocations: 43.48 kB / 485.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.3785, allocations: 8 kB / 485.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3786, allocations: 330.8 kB / 485.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.3788, allocations: 88.47 kB / 485.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.379, allocations: 126 kB / 485.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.3792, allocations: 100.5 kB / 485.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3793, allocations: 4 kB / 485.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004819/0.3797, allocations: 281.4 kB / 486.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3798, allocations: 8.938 kB / 486.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.3798, allocations: 0 / 486.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.3798, allocations: 7.953 kB / 486.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.38, allocations: 27.92 kB / 486.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.38, allocations: 4.469 kB / 486.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.3801, allocations: 27.73 kB / 486.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.3801, allocations: 8 kB / 486.2 MB, free: 11.46 MB / 362.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 () * Number of clocked 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.0001592/0.3803, allocations: 153.8 kB / 486.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.3803, allocations: 19.8 kB / 486.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.3804, allocations: 17.39 kB / 486.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3804, allocations: 3.953 kB / 486.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3804, allocations: 0 / 486.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3804, allocations: 0 / 486.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.3806, allocations: 213.5 kB / 486.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3806, allocations: 0 / 486.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.3807, allocations: 16 kB / 486.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3807, allocations: 0 / 486.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3807, allocations: 15.92 kB / 486.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3807, allocations: 0 / 486.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3807, allocations: 3.953 kB / 486.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.3811, allocations: 243.4 kB / 486.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.3812, allocations: 88.92 kB / 487 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.3812, allocations: 15.98 kB / 487 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.3813, allocations: 11.94 kB / 487 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.3814, allocations: 11.98 kB / 487 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.3814, allocations: 12 kB / 487.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.804e-05/0.3815, allocations: 119.2 kB / 487.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3815, allocations: 0 / 487.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.3818, allocations: 63.92 kB / 487.2 MB, free: 10.36 MB / 362.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]) * Number of clocked states: 0 () * 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.0004849/0.3823, allocations: 237.2 kB / 487.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004678/0.3828, allocations: 251.2 kB / 487.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3828, allocations: 0 / 487.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.383, allocations: 63.97 kB / 487.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.3831, allocations: 4 kB / 487.8 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.3836, allocations: 267.2 kB / 488 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.384, allocations: 0.7199 MB / 488.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.188e-05/0.384, allocations: 20.94 kB / 488.8 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.3841, allocations: 15.42 kB / 488.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3841, allocations: 0 / 488.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of Templates: time 0.004836/0.3889, allocations: 2.165 MB / 491 MB, free: 6.609 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