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.0008626/0.0008627, allocations: 176.1 kB / 17.4 MB, free: 4.418 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.426/1.426, 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.0008318/0.0008318, allocations: 98.89 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 16 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2705, allocations: 50.41 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09665/0.3672, allocations: 77.09 MB / 479.8 MB, free: 3.227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.3675, allocations: 75.95 kB / 479.9 MB, free: 3.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01161/0.3792, allocations: 4.199 MB / 484.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3792, allocations: 4 kB / 484.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.3792, allocations: 4 kB / 484.1 MB, free: 14.93 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.0006723/0.3799, allocations: 447.5 kB / 484.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.38, allocations: 12.03 kB / 484.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002891/0.3803, allocations: 40.72 kB / 484.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3804, allocations: 196.1 kB / 484.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.3805, allocations: 8.312 kB / 484.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.3805, allocations: 8.375 kB / 484.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.3807, allocations: 115.9 kB / 484.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3808, allocations: 4.125 kB / 484.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.3808, allocations: 7.922 kB / 484.9 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3808, allocations: 0 / 484.9 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.381, allocations: 59.97 kB / 485 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006512/0.3816, allocations: 393.4 kB / 485.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.382, allocations: 141.2 kB / 485.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3821, allocations: 61.8 kB / 485.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.3822, allocations: 3.984 kB / 485.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.3824, allocations: 146 kB / 485.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.3824, allocations: 0 / 485.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005169/0.383, allocations: 245.4 kB / 486 MB, free: 12.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.383, allocations: 97.08 kB / 486.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.3832, allocations: 183.1 kB / 486.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.3833, allocations: 45.69 kB / 486.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.3833, allocations: 108.6 kB / 486.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.3834, allocations: 35.48 kB / 486.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.3834, allocations: 8 kB / 486.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3836, allocations: 330.8 kB / 486.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.3837, allocations: 96.41 kB / 486.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.384, allocations: 126 kB / 487 MB, free: 11.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.3843, allocations: 207.4 kB / 487.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3843, allocations: 0 / 487.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004731/0.3848, allocations: 289.3 kB / 487.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3848, allocations: 4 kB / 487.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.3849, allocations: 4 kB / 487.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3849, allocations: 0 / 487.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.385, allocations: 31.92 kB / 487.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.385, allocations: 4 kB / 487.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.3851, allocations: 23.75 kB / 487.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.3852, allocations: 11.98 kB / 487.5 MB, free: 11.23 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.000146/0.3853, allocations: 157.8 kB / 487.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.3853, allocations: 15.81 kB / 487.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.3854, allocations: 13.41 kB / 487.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3854, allocations: 0 / 487.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3854, allocations: 0 / 487.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3854, allocations: 0 / 487.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.3856, allocations: 213.5 kB / 487.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3856, allocations: 0 / 487.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.3857, allocations: 23.92 kB / 487.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3857, allocations: 0 / 487.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.3857, allocations: 4 kB / 487.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3857, allocations: 3.938 kB / 488 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3857, allocations: 0 / 488 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.3861, allocations: 237.7 kB / 488.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.3862, allocations: 88.92 kB / 488.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.3862, allocations: 11.98 kB / 488.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.762e-05/0.3863, allocations: 8 kB / 488.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.3864, allocations: 7.984 kB / 488.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3864, allocations: 11.98 kB / 488.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.981e-05/0.3865, allocations: 127.2 kB / 488.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3865, allocations: 0 / 488.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003234/0.3868, allocations: 63.86 kB / 488.5 MB, free: 10.16 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.0004677/0.3873, allocations: 240.2 kB / 488.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004317/0.3877, allocations: 251.2 kB / 489 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3878, allocations: 3.938 kB / 489 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3879, allocations: 68.05 kB / 489 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.3881, allocations: 4 kB / 489.1 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.3886, allocations: 275.8 kB / 489.3 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3889, allocations: 0.7082 MB / 490 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.528e-05/0.389, allocations: 20.88 kB / 490.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.389, allocations: 11.44 kB / 490.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.389, allocations: 0 / 490.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of Templates: time 0.005125/0.3941, allocations: 2.143 MB / 492.2 MB, free: 6.426 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/jenkins1/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