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.001201/0.001207, allocations: 110 kB / 17.06 MB, free: 6.023 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.001272/0.001272, allocations: 191 kB / 18 MB, free: 5.105 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.492/1.492, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 51.92 kB / 351.3 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3721, allocations: 49.43 MB / 400.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.004646/0.3768, allocations: 1.338 MB / 402.1 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3779, allocations: 353.1 kB / 402.4 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.378, allocations: 7.938 kB / 402.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.749e-05/0.378, allocations: 0 / 402.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.368e-05/0.3782, allocations: 7.938 kB / 402.4 MB, free: 7.215 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.0006957/0.3789, allocations: 87.72 kB / 402.5 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.379, allocations: 15.98 kB / 402.5 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.811e-05/0.379, allocations: 4 kB / 402.5 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.509e-05/0.3791, allocations: 3.938 kB / 402.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.3791, allocations: 19.91 kB / 402.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.3792, allocations: 0 / 402.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.3795, allocations: 83.86 kB / 402.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.3795, allocations: 0 / 402.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.3796, allocations: 15.92 kB / 402.6 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.3799, allocations: 83.81 kB / 402.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3799, allocations: 4 kB / 402.7 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3799, allocations: 0 / 402.7 MB, free: 6.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3799, allocations: 0 / 402.7 MB, free: 6.902 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.0006333/0.3805, allocations: 339.6 kB / 403.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.3806, allocations: 15.89 kB / 403.1 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.3807, allocations: 8.828 kB / 403.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.3809, allocations: 173.7 kB / 403.3 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3809, allocations: 384 / 403.3 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.3809, allocations: 384 / 403.3 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.3811, allocations: 41.62 kB / 403.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3811, allocations: 0 / 403.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.3811, allocations: 3.984 kB / 403.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3812, allocations: 0 / 403.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.3812, allocations: 8 kB / 403.3 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.3817, allocations: 248.8 kB / 403.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.718e-05/0.3818, allocations: 26.58 kB / 403.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.3819, allocations: 12.92 kB / 403.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.3819, allocations: 0 / 403.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.3821, allocations: 55.39 kB / 403.6 MB, free: 5.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.3821, allocations: 0 / 403.6 MB, free: 5.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002779/0.3824, allocations: 61.53 kB / 403.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.3825, allocations: 51.41 kB / 403.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3826, allocations: 109.8 kB / 403.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.3827, allocations: 29.7 kB / 403.9 MB, free: 5.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3828, allocations: 84.14 kB / 404 MB, free: 5.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.3828, allocations: 7.906 kB / 404 MB, free: 5.449 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.3829, allocations: 21.7 kB / 404 MB, free: 5.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.383, allocations: 314.8 kB / 404.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.512e-05/0.3831, allocations: 8 kB / 404.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.3831, allocations: 21.7 kB / 404.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3833, allocations: 33.66 kB / 404.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3833, allocations: 0 / 404.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001322/0.3834, allocations: 53.69 kB / 404.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3835, allocations: 8 kB / 404.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3835, allocations: 0 / 404.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3835, allocations: 3.938 kB / 404.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.575e-05/0.3836, allocations: 11.98 kB / 404.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3836, allocations: 3.938 kB / 404.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.3837, allocations: 3.656 kB / 404.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.3837, allocations: 8.406 kB / 404.5 MB, free: 4.938 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 0.0001139/0.3838, allocations: 109.8 kB / 404.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.3838, allocations: 11.91 kB / 404.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.3839, allocations: 3.906 kB / 404.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3839, allocations: 0 / 404.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3839, allocations: 4 kB / 404.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3839, allocations: 0 / 404.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.3843, allocations: 290.5 kB / 404.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.3843, allocations: 4 kB / 404.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.3843, allocations: 0 / 404.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3843, allocations: 0 / 404.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3844, allocations: 4.281 kB / 404.9 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3844, allocations: 0 / 404.9 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3844, allocations: 0 / 404.9 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.3846, allocations: 151.5 kB / 405 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.3846, allocations: 85 kB / 405.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.3847, allocations: 4 kB / 405.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.3847, allocations: 0 / 405.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.3848, allocations: 7.938 kB / 405.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3848, allocations: 3.938 kB / 405.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.945e-05/0.3849, allocations: 87.27 kB / 405.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3849, allocations: 3.938 kB / 405.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004211/0.3853, allocations: 28 kB / 405.2 MB, free: 4.047 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.0005555/0.3859, allocations: 184.3 kB / 405.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.3861, allocations: 23.97 kB / 405.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3861, allocations: 0 / 405.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.786e-05/0.3861, allocations: 11.94 kB / 405.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3864, allocations: 4.062 kB / 405.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.3868, allocations: 109.6 kB / 405.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.3872, allocations: 0.6844 MB / 406.3 MB, free: 3 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.176e-05/0.3872, allocations: 7.984 kB / 406.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.3873, allocations: 7.438 kB / 406.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3873, allocations: 0 / 406.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of Templates: time 0.004668/0.3919, allocations: 0.9405 MB / 407.2 MB, free: 2.051 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/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_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches