Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001566, allocations: 105.9 kB / 17.74 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 189.5 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3085, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002646/0.3111, allocations: 1.319 MB / 402.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008129/0.312, allocations: 361.1 kB / 403.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.3121, allocations: 4 kB / 403.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.3121, allocations: 0 / 403.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.3122, allocations: 7.938 kB / 403.1 MB, free: 7.18 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.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.0005482/0.3128, allocations: 83.67 kB / 403.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.246e-05/0.3128, allocations: 23.92 kB / 403.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.3129, allocations: 3.984 kB / 403.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.013e-05/0.3129, allocations: 11.92 kB / 403.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.446e-05/0.313, allocations: 7.938 kB / 403.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.313, allocations: 0 / 403.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.3132, allocations: 87.91 kB / 403.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.3132, allocations: 4 kB / 403.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.3133, allocations: 11.94 kB / 403.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3135, allocations: 91.73 kB / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3135, allocations: 0 / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3135, allocations: 0 / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3135, allocations: 0 / 403.4 MB, free: 6.859 MB / 318.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.0004073/0.3139, allocations: 335.6 kB / 403.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.314, allocations: 12.03 kB / 403.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.314, allocations: 4.844 kB / 403.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.3141, allocations: 165.8 kB / 403.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.3142, allocations: 12.38 kB / 403.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.3142, allocations: 384 / 403.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.861e-05/0.3143, allocations: 37.58 kB / 404 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3143, allocations: 0 / 404 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.3143, allocations: 0 / 404 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3143, allocations: 0 / 404 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.631e-05/0.3143, allocations: 11.92 kB / 404 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.3147, allocations: 248.9 kB / 404.2 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.961e-05/0.3148, allocations: 26.58 kB / 404.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.367e-05/0.3148, allocations: 8.922 kB / 404.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/0.3148, allocations: 4 kB / 404.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.3149, allocations: 55.34 kB / 404.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.3149, allocations: 0 / 404.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001765/0.3151, allocations: 57.58 kB / 404.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.3152, allocations: 59.41 kB / 404.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.3153, allocations: 105.8 kB / 404.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.3153, allocations: 25.7 kB / 404.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.3153, allocations: 80.14 kB / 404.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.3154, allocations: 11.91 kB / 404.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.3154, allocations: 13.72 kB / 404.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3155, allocations: 322.8 kB / 405 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.3155, allocations: 8 kB / 405 MB, free: 5.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.3156, allocations: 17.72 kB / 405 MB, free: 5.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.735e-05/0.3156, allocations: 37.64 kB / 405 MB, free: 5.004 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.3156, allocations: 0 / 405 MB, free: 5.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.856e-05/0.3157, allocations: 57.56 kB / 405.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3158, allocations: 8 kB / 405.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3158, allocations: 0 / 405.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3158, allocations: 0 / 405.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/0.3159, allocations: 8.031 kB / 405.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3159, allocations: 4 kB / 405.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.3159, allocations: 11.59 kB / 405.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.3159, allocations: 384 / 405.1 MB, free: 4.914 MB / 318.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 7.536e-05/0.316, allocations: 117.8 kB / 405.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.316, allocations: 3.906 kB / 405.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.316, allocations: 12.14 kB / 405.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.316, allocations: 0 / 405.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3161, allocations: 4 kB / 405.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3161, allocations: 7.984 kB / 405.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.3163, allocations: 286.5 kB / 405.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3163, allocations: 4 kB / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.3163, allocations: 3.984 kB / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3163, allocations: 0 / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.3163, allocations: 0 / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3163, allocations: 0 / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3163, allocations: 4 kB / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.3165, allocations: 151.4 kB / 405.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.3165, allocations: 85.02 kB / 405.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.3165, allocations: 0 / 405.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.134e-05/0.3166, allocations: 0 / 405.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.3166, allocations: 7.922 kB / 405.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3166, allocations: 4 kB / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.945e-05/0.3167, allocations: 83.28 kB / 405.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3167, allocations: 0 / 405.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.3169, allocations: 27.98 kB / 405.9 MB, free: 4.02 MB / 318.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.0003928/0.3173, allocations: 195.7 kB / 406.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.3175, allocations: 16 kB / 406.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3175, allocations: 8 kB / 406.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.077e-05/0.3175, allocations: 15.92 kB / 406.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.3177, allocations: 4 kB / 406.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.3181, allocations: 131.3 kB / 406.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.3183, allocations: 0.6844 MB / 407 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.3183, allocations: 11.44 kB / 407 MB, free: 2.926 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3183, allocations: 0 / 407 MB, free: 2.926 MB / 318.1 MB Notification: Performance of Templates: time 0.002763/0.3211, allocations: 1.155 MB / 408.1 MB, free: 1.766 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches