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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 111.3 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 40.08 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3325, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002436/0.335, allocations: 1.414 MB / 400.9 MB, free: 31.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006963/0.3357, allocations: 358.9 kB / 401.2 MB, free: 31.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.3357, allocations: 0 / 401.2 MB, free: 31.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.3358, allocations: 3.938 kB / 401.2 MB, free: 31.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.3358, allocations: 7.984 kB / 401.2 MB, free: 31.58 MB / 298.7 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.0004153/0.3363, allocations: 59.88 kB / 401.3 MB, free: 31.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.266e-05/0.3363, allocations: 15.94 kB / 401.3 MB, free: 31.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.3364, allocations: 6.891 kB / 401.3 MB, free: 31.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.511e-05/0.3364, allocations: 11.94 kB / 401.3 MB, free: 31.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.275e-05/0.3364, allocations: 11.92 kB / 401.3 MB, free: 31.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.3364, allocations: 0 / 401.3 MB, free: 31.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.3366, allocations: 83.84 kB / 401.4 MB, free: 31.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.3366, allocations: 4 kB / 401.4 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.3367, allocations: 7.938 kB / 401.4 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3368, allocations: 87.81 kB / 401.5 MB, free: 31.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3368, allocations: 4 kB / 401.5 MB, free: 31.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3369, allocations: 0 / 401.5 MB, free: 31.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.3369, allocations: 0 / 401.5 MB, free: 31.3 MB / 298.7 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.000353/0.3372, allocations: 343.5 kB / 401.9 MB, free: 30.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3373, allocations: 8.031 kB / 401.9 MB, free: 30.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.3373, allocations: 4.938 kB / 401.9 MB, free: 30.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.993e-05/0.3374, allocations: 169.9 kB / 402 MB, free: 30.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3374, allocations: 4.375 kB / 402.1 MB, free: 30.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.3374, allocations: 384 / 402.1 MB, free: 30.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.759e-05/0.3375, allocations: 49.69 kB / 402.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3375, allocations: 0 / 402.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.3376, allocations: 0 / 402.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3376, allocations: 0 / 402.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.3376, allocations: 8 kB / 402.1 MB, free: 30.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.3379, allocations: 244.8 kB / 402.3 MB, free: 30.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.923e-05/0.338, allocations: 34.5 kB / 402.4 MB, free: 30.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.338, allocations: 8.922 kB / 402.4 MB, free: 30.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.338, allocations: 4 kB / 402.4 MB, free: 30.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.3382, allocations: 51.41 kB / 402.4 MB, free: 30.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3382, allocations: 0 / 402.4 MB, free: 30.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001958/0.3384, allocations: 53.69 kB / 402.5 MB, free: 30.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.3384, allocations: 59.33 kB / 402.6 MB, free: 30.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.3385, allocations: 105.9 kB / 402.7 MB, free: 29.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.3385, allocations: 29.64 kB / 402.7 MB, free: 29.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.3385, allocations: 84.12 kB / 402.8 MB, free: 29.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.3386, allocations: 11.91 kB / 402.8 MB, free: 29.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.3386, allocations: 17.72 kB / 402.8 MB, free: 29.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.3387, allocations: 314.8 kB / 403.1 MB, free: 29.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.3387, allocations: 7.984 kB / 403.1 MB, free: 29.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/0.3387, allocations: 21.72 kB / 403.1 MB, free: 29.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/0.3388, allocations: 33.89 kB / 403.2 MB, free: 29.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3388, allocations: 0 / 403.2 MB, free: 29.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.277e-05/0.3389, allocations: 57.53 kB / 403.2 MB, free: 29.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.3389, allocations: 7.984 kB / 403.2 MB, free: 29.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3389, allocations: 4 kB / 403.2 MB, free: 29.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3389, allocations: 0 / 403.2 MB, free: 29.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/0.339, allocations: 4 kB / 403.2 MB, free: 29.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.339, allocations: 4 kB / 403.2 MB, free: 29.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.339, allocations: 15.91 kB / 403.3 MB, free: 29.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.339, allocations: 0 / 403.3 MB, free: 29.34 MB / 298.7 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 6.208e-05/0.3391, allocations: 121.7 kB / 403.4 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-06/0.3391, allocations: 0 / 403.4 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.3391, allocations: 15.89 kB / 403.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3391, allocations: 0 / 403.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3391, allocations: 0 / 403.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3391, allocations: 0 / 403.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.3393, allocations: 283 kB / 403.7 MB, free: 28.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3393, allocations: 4 kB / 403.7 MB, free: 28.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.21e-05/0.3393, allocations: 4 kB / 403.7 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3394, allocations: 0 / 403.7 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3394, allocations: 0 / 403.7 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3394, allocations: 7.922 kB / 403.7 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3394, allocations: 4 kB / 403.7 MB, free: 28.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.3396, allocations: 0.6966 MB / 404.4 MB, free: 28.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.3396, allocations: 81.11 kB / 404.5 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.3397, allocations: 3.938 kB / 404.5 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.395e-05/0.3397, allocations: 4 kB / 404.5 MB, free: 27.97 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.3397, allocations: 0 / 404.5 MB, free: 27.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.3398, allocations: 4 kB / 404.5 MB, free: 27.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.365e-05/0.3398, allocations: 83.27 kB / 404.6 MB, free: 27.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3398, allocations: 0 / 404.6 MB, free: 27.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.3402, allocations: 31.94 kB / 404.6 MB, free: 27.86 MB / 298.7 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.0003316/0.3405, allocations: 177 kB / 404.8 MB, free: 27.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.056e-05/0.3406, allocations: 19.98 kB / 404.8 MB, free: 27.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3406, allocations: 15.94 kB / 404.8 MB, free: 27.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.315e-05/0.3406, allocations: 8 kB / 404.8 MB, free: 27.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.3409, allocations: 3.984 kB / 404.8 MB, free: 27.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.3412, allocations: 217.9 kB / 405 MB, free: 27.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.3413, allocations: 0.677 MB / 405.7 MB, free: 26.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.587e-05/0.3413, allocations: 8.172 kB / 405.7 MB, free: 26.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/0.3413, allocations: 15.44 kB / 405.7 MB, free: 26.68 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3413, allocations: 0 / 405.7 MB, free: 26.68 MB / 298.7 MB Notification: Performance of Templates: time 0.002883/0.3442, allocations: 0.9453 MB / 406.7 MB, free: 25.73 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches