Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001642/0.001642, allocations: 109.6 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001751/0.001751, allocations: 208.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.378/1.378, allocations: 227.7 MB / 247.7 MB, free: 10.43 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.97 kB / 307.9 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09517, allocations: 50.53 MB / 358.4 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002593/0.09781, allocations: 1.335 MB / 359.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007639/0.09859, allocations: 360.5 kB / 360.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.09863, allocations: 7.938 kB / 360.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.09867, allocations: 0 / 360.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.7e-05/0.09873, allocations: 7.938 kB / 360.1 MB, free: 12.29 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.0004296/0.09916, allocations: 83.72 kB / 360.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.503e-05/0.09923, allocations: 23.92 kB / 360.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.09927, allocations: 0 / 360.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.008e-05/0.0993, allocations: 7.938 kB / 360.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.51e-05/0.09933, allocations: 11.92 kB / 360.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.09935, allocations: 0 / 360.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.09953, allocations: 87.91 kB / 360.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.09955, allocations: 0 / 360.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.09958, allocations: 19.92 kB / 360.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.09976, allocations: 83.81 kB / 360.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.09977, allocations: 0 / 360.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09978, allocations: 3.938 kB / 360.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.09979, allocations: 0 / 360.4 MB, free: 11.97 MB / 302.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.0004129/0.1002, allocations: 339.5 kB / 360.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1002, allocations: 8.031 kB / 360.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.1003, allocations: 4.938 kB / 360.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1004, allocations: 180.4 kB / 361 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1004, allocations: 12.38 kB / 361 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.1005, allocations: 384 / 361 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.213e-05/0.1005, allocations: 30.27 kB / 361 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1006, allocations: 192 / 361 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1006, allocations: 7.922 kB / 361 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1006, allocations: 0 / 361 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.023e-05/0.1006, allocations: 4 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.1009, allocations: 244.9 kB / 361.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.14e-05/0.101, allocations: 26.58 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.101, allocations: 12.86 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.101, allocations: 4 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.1012, allocations: 51.39 kB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1012, allocations: 4 kB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001634/0.1014, allocations: 57.62 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.1014, allocations: 55.41 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.1015, allocations: 105.8 kB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1015, allocations: 25.7 kB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.1016, allocations: 80.14 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.1016, allocations: 11.91 kB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.1016, allocations: 17.66 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1018, allocations: 318.8 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.1018, allocations: 8.25 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/0.1019, allocations: 21.72 kB / 362 MB, free: 10.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.457e-05/0.1019, allocations: 37.64 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1019, allocations: 0 / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.56e-05/0.102, allocations: 61.47 kB / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.102, allocations: 6.656 kB / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1021, allocations: 4 kB / 362.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1021, allocations: 4.031 kB / 362.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.609e-05/0.1021, allocations: 4 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.1021, allocations: 7.938 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.1022, allocations: 4 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1022, allocations: 3.984 kB / 362.2 MB, free: 10.01 MB / 302.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.895e-05/0.1023, allocations: 113.8 kB / 362.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.1023, allocations: 0 / 362.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.1023, allocations: 11.91 kB / 362.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1023, allocations: 0 / 362.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1023, allocations: 4.234 kB / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1024, allocations: 0 / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.1026, allocations: 290.5 kB / 362.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1026, allocations: 4 kB / 362.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.1026, allocations: 0 / 362.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1026, allocations: 0 / 362.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1027, allocations: 0 / 362.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1027, allocations: 0 / 362.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1027, allocations: 4 kB / 362.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.1028, allocations: 151.4 kB / 362.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.1029, allocations: 85.05 kB / 362.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1029, allocations: 3.984 kB / 362.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.281e-05/0.1029, allocations: 0 / 362.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.103, allocations: 0 / 362.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.103, allocations: 4 kB / 362.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.766e-05/0.103, allocations: 87.41 kB / 362.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.103, allocations: 0 / 362.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1033, allocations: 31.98 kB / 362.9 MB, free: 9.125 MB / 302.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.0004227/0.1037, allocations: 190.1 kB / 363.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.722e-05/0.1038, allocations: 23.98 kB / 363.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1038, allocations: 0 / 363.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.1039, allocations: 11.94 kB / 363.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.1041, allocations: 4 kB / 363.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.1044, allocations: 135.2 kB / 363.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1047, allocations: 0.6806 MB / 364 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.1048, allocations: 11.44 kB / 364 MB, free: 8.039 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1048, allocations: 4.062 kB / 364 MB, free: 8.035 MB / 302.1 MB Notification: Performance of Templates: time 0.00322/0.108, allocations: 1.155 MB / 365.2 MB, free: 6.875 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches