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.001526/0.001526, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001825/0.001825, allocations: 208 kB / 19.42 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3154, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003333/0.3188, allocations: 1.344 MB / 411.3 MB, free: 232 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009956/0.3198, allocations: 349.4 kB / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.3199, allocations: 0 / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.3199, allocations: 3.938 kB / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.957e-05/0.32, allocations: 7.984 kB / 411.6 MB, free: 15.88 MB / 334.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.0005761/0.3206, allocations: 83.73 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.3207, allocations: 19.92 kB / 411.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.3207, allocations: 0 / 411.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.3208, allocations: 11.94 kB / 411.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.376e-05/0.3208, allocations: 11.92 kB / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.3208, allocations: 0 / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.3211, allocations: 95.78 kB / 411.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.3211, allocations: 0 / 411.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.3212, allocations: 15.92 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.3214, allocations: 79.75 kB / 411.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3214, allocations: 8 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3214, allocations: 0 / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3215, allocations: 0 / 412 MB, free: 15.55 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.0004787/0.3219, allocations: 343.3 kB / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.322, allocations: 8.031 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.322, allocations: 4.938 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.3222, allocations: 164.4 kB / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3222, allocations: 384 / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.3222, allocations: 4.375 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.941e-05/0.3223, allocations: 46.14 kB / 412.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3224, allocations: 4.172 kB / 412.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3224, allocations: 7.938 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3224, allocations: 0 / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.3224, allocations: 4 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.3228, allocations: 248.9 kB / 412.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.21e-05/0.3229, allocations: 18.58 kB / 412.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.323, allocations: 24.8 kB / 412.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.323, allocations: 0 / 412.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.3232, allocations: 55.39 kB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.3232, allocations: 0 / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002109/0.3234, allocations: 49.69 kB / 412.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.3234, allocations: 55.41 kB / 413 MB, free: 14.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3236, allocations: 109.8 kB / 413.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3236, allocations: 33.7 kB / 413.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.3237, allocations: 80.14 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.3237, allocations: 3.953 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.3237, allocations: 21.7 kB / 413.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3239, allocations: 318.8 kB / 413.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.268e-05/0.3239, allocations: 4 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.464e-05/0.324, allocations: 21.7 kB / 413.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.739e-05/0.3241, allocations: 29.89 kB / 413.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3241, allocations: 4 kB / 413.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001522/0.3242, allocations: 65.52 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3243, allocations: 4 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3243, allocations: 0 / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3243, allocations: 4 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.3244, allocations: 4 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3244, allocations: 0 / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.3244, allocations: 19.89 kB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3245, allocations: 0 / 413.7 MB, free: 13.59 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 9.272e-05/0.3246, allocations: 117.8 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.3246, allocations: 3.938 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.3246, allocations: 3.906 kB / 413.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3246, allocations: 0 / 413.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3246, allocations: 0 / 413.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.3247, allocations: 85.06 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.3247, allocations: 3.984 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.217e-05/0.3248, allocations: 8 kB / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.3248, allocations: 0 / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001443/0.325, allocations: 128.9 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001927/0.3252, allocations: 219.1 kB / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.104e-05/0.3252, allocations: 7.984 kB / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.612e-05/0.3253, allocations: 91.28 kB / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of Backend: time 4.4e-07/0.3253, allocations: 0 / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008672/0.3262, allocations: 175.5 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of SimCode: time 0.000476/0.3266, allocations: 0.5533 MB / 415.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Templates: time 0.004517/0.3312, allocations: 0.9765 MB / 416 MB, free: 11.14 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches