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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001811/0.001811, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001919/0.001919, allocations: 215.9 kB / 19.8 MB, free: 2.559 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.516/1.516, allocations: 230.4 MB / 251.1 MB, free: 8.48 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.001978/0.001978, allocations: 71.83 kB / 369 MB, free: 6.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3309, allocations: 53.31 MB / 422.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002729/0.3336, allocations: 1.347 MB / 423.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008326/0.3345, allocations: 350.9 kB / 424 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.3345, allocations: 0 / 424 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.3345, allocations: 7.938 kB / 424 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.28e-05/0.3346, allocations: 0 / 424 MB, free: 6.16 MB / 334.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.0005303/0.3351, allocations: 87.72 kB / 424.1 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.608e-05/0.3352, allocations: 19.94 kB / 424.1 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.3352, allocations: 3.938 kB / 424.1 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.3353, allocations: 15.91 kB / 424.1 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.111e-05/0.3353, allocations: 7.938 kB / 424.1 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.3353, allocations: 0 / 424.1 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.3355, allocations: 95.83 kB / 424.2 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.3355, allocations: 0 / 424.2 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.3356, allocations: 15.94 kB / 424.2 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.3358, allocations: 83.19 kB / 424.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3358, allocations: 0 / 424.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3358, allocations: 0 / 424.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3358, allocations: 0 / 424.3 MB, free: 5.84 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.0004796/0.3363, allocations: 351.3 kB / 424.6 MB, free: 5.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3363, allocations: 12.03 kB / 424.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.3363, allocations: 0.9375 kB / 424.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3365, allocations: 160.4 kB / 424.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3365, allocations: 8.375 kB / 424.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.3365, allocations: 8.359 kB / 424.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.3366, allocations: 38.14 kB / 424.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3366, allocations: 192 / 424.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3366, allocations: 3.938 kB / 424.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3366, allocations: 0 / 424.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.3367, allocations: 8 kB / 424.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.3371, allocations: 240.9 kB / 425.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.14e-05/0.3372, allocations: 34.56 kB / 425.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.042e-05/0.3372, allocations: 12.86 kB / 425.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.3372, allocations: 7.938 kB / 425.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.3373, allocations: 47.41 kB / 425.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3373, allocations: 0 / 425.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000198/0.3375, allocations: 61.67 kB / 425.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.3376, allocations: 55.41 kB / 425.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.465e-05/0.3377, allocations: 101.9 kB / 425.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3377, allocations: 29.69 kB / 425.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.3377, allocations: 88.06 kB / 425.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.3378, allocations: 7.953 kB / 425.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.3378, allocations: 21.72 kB / 425.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3379, allocations: 314.8 kB / 425.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.338, allocations: 8 kB / 425.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.338, allocations: 17.72 kB / 425.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.09e-05/0.3381, allocations: 33.7 kB / 425.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3381, allocations: 0 / 425.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.254e-05/0.3382, allocations: 61.75 kB / 426 MB, free: 3.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3382, allocations: 4 kB / 426 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3382, allocations: 7.938 kB / 426 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3382, allocations: 0 / 426 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.3383, allocations: 8 kB / 426 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3383, allocations: 8.031 kB / 426 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.3383, allocations: 7.922 kB / 426 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3383, allocations: 0 / 426 MB, free: 3.867 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.948e-05/0.3384, allocations: 121.7 kB / 426.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.3384, allocations: 0 / 426.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3384, allocations: 11.91 kB / 426.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3384, allocations: 0 / 426.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3384, allocations: 0 / 426.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3384, allocations: 0 / 426.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.3387, allocations: 282.6 kB / 426.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3387, allocations: 384 / 426.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.3387, allocations: 4 kB / 426.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3387, allocations: 3.984 kB / 426.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.3387, allocations: 4 kB / 426.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3387, allocations: 0 / 426.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3387, allocations: 4 kB / 426.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.3389, allocations: 155.4 kB / 426.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.3389, allocations: 85.05 kB / 426.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.3389, allocations: 0 / 426.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.032e-05/0.3389, allocations: 0 / 426.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.339, allocations: 3.984 kB / 426.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.339, allocations: 4 kB / 426.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.613e-05/0.339, allocations: 83.28 kB / 426.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.339, allocations: 0 / 426.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.3393, allocations: 27.92 kB / 426.8 MB, free: 2.98 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.0004844/0.3398, allocations: 192.5 kB / 427 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.3399, allocations: 19.94 kB / 427 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3399, allocations: 3.938 kB / 427 MB, free: 2.789 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.3399, allocations: 12.05 kB / 427 MB, free: 2.777 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.3401, allocations: 10.67 kB / 427 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.3404, allocations: 105.6 kB / 427.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3407, allocations: 0.6768 MB / 427.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.801e-05/0.3407, allocations: 4 kB / 427.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.3407, allocations: 7.438 kB / 427.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3407, allocations: 0 / 427.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of Templates: time 0.003788/0.3445, allocations: 0.9608 MB / 428.8 MB, free: 0.9648 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/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) [Timeout 660] Reference file matches