Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001652/0.001652, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002239/0.002239, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3851, allocations: 50.53 MB / 409.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002401/0.3875, allocations: 1.36 MB / 410.6 MB, free: 404 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000771/0.3883, allocations: 349.4 kB / 410.9 MB, free: 56 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.3884, allocations: 0 / 410.9 MB, free: 56 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.3884, allocations: 7.922 kB / 410.9 MB, free: 48 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.644e-05/0.3885, allocations: 0 / 410.9 MB, free: 48 kB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.389, allocations: 87.72 kB / 411 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.3891, allocations: 11.94 kB / 411 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.3892, allocations: 7.984 kB / 411 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.771e-05/0.3892, allocations: 7.938 kB / 411.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.444e-05/0.3892, allocations: 11.92 kB / 411.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.3893, allocations: 8 kB / 411.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.3894, allocations: 83.84 kB / 411.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.3895, allocations: 8 kB / 411.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.3895, allocations: 3.938 kB / 411.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.3897, allocations: 83.75 kB / 411.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3897, allocations: 0 / 411.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3897, allocations: 0 / 411.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.3897, allocations: 3.984 kB / 411.3 MB, free: 15.73 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004471/0.3902, allocations: 351.3 kB / 411.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3902, allocations: 8.031 kB / 411.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.3903, allocations: 8.875 kB / 411.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.3904, allocations: 164.4 kB / 411.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3904, allocations: 4.359 kB / 411.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.3904, allocations: 384 / 411.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.828e-05/0.3905, allocations: 30.27 kB / 411.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3906, allocations: 8.062 kB / 411.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3906, allocations: 7.938 kB / 411.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.3906, allocations: 0 / 411.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.3906, allocations: 7.984 kB / 411.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.391, allocations: 244.9 kB / 412.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.503e-05/0.391, allocations: 30.56 kB / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.3911, allocations: 12.86 kB / 412.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.3911, allocations: 0 / 412.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.3912, allocations: 63.33 kB / 412.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3912, allocations: 0 / 412.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001735/0.3914, allocations: 57.67 kB / 412.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.3915, allocations: 51.41 kB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.3916, allocations: 105.8 kB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.3916, allocations: 25.7 kB / 412.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.3916, allocations: 92.08 kB / 412.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.3917, allocations: 3.953 kB / 412.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.3917, allocations: 17.72 kB / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.3918, allocations: 322.8 kB / 412.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.3918, allocations: 8 kB / 412.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.881e-05/0.3919, allocations: 14.09 kB / 412.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.3919, allocations: 33.7 kB / 412.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3919, allocations: 0 / 412.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.424e-05/0.392, allocations: 69.52 kB / 413 MB, free: 13.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.392, allocations: 8.031 kB / 413 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3921, allocations: 0 / 413 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3921, allocations: 0 / 413 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.797e-05/0.3921, allocations: 8 kB / 413 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3921, allocations: 0 / 413 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.3922, allocations: 3.938 kB / 413 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3922, allocations: 4 kB / 413 MB, free: 13.76 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.12e-05/0.3923, allocations: 125.6 kB / 413.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-06/0.3923, allocations: 4 kB / 413.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.3923, allocations: 7.906 kB / 413.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3923, allocations: 3.938 kB / 413.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3923, allocations: 0 / 413.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3923, allocations: 0 / 413.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.3925, allocations: 282.6 kB / 413.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3926, allocations: 0 / 413.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.764e-05/0.3926, allocations: 7.984 kB / 413.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3926, allocations: 0 / 413.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3926, allocations: 0 / 413.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3926, allocations: 0 / 413.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3926, allocations: 4 kB / 413.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.3927, allocations: 155.4 kB / 413.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.3928, allocations: 77.11 kB / 413.6 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.3928, allocations: 0 / 413.6 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.405e-05/0.3928, allocations: 0 / 413.6 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.3929, allocations: 8.312 kB / 413.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.3929, allocations: 0 / 413.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.888e-05/0.3929, allocations: 83.28 kB / 413.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3929, allocations: 4 kB / 413.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.3932, allocations: 31.92 kB / 413.8 MB, free: 12.87 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003777/0.3936, allocations: 182 kB / 413.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.3937, allocations: 19.94 kB / 414 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3937, allocations: 0 / 414 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.3938, allocations: 19.92 kB / 414 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.394, allocations: 3.938 kB / 414 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.3942, allocations: 109.6 kB / 414.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.3945, allocations: 0.6768 MB / 414.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.038e-05/0.3945, allocations: 4 kB / 414.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.3945, allocations: 19.44 kB / 414.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3945, allocations: 0 / 414.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of Templates: time 0.003215/0.3977, allocations: 0.9642 MB / 415.8 MB, free: 10.84 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches