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.001087/0.001087, allocations: 107.9 kB / 17.74 MB, free: 5.336 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.001036/0.001036, allocations: 198.5 kB / 18.68 MB, free: 4.41 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.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 51.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2282, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002138/0.2304, allocations: 1.325 MB / 402.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006494/0.231, allocations: 357.1 kB / 403.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.2311, allocations: 3.938 kB / 403.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.2311, allocations: 3.984 kB / 403.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.231e-05/0.2312, allocations: 3.938 kB / 403.1 MB, free: 7.168 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.0004183/0.2316, allocations: 87.73 kB / 403.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.176e-05/0.2316, allocations: 12 kB / 403.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.2317, allocations: 11.97 kB / 403.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.2317, allocations: 7.938 kB / 403.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.024e-05/0.2317, allocations: 3.938 kB / 403.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2318, allocations: 7.938 kB / 403.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.2319, allocations: 83.91 kB / 403.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.2319, allocations: 4 kB / 403.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.232, allocations: 7.938 kB / 403.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.2321, allocations: 83.81 kB / 403.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2322, allocations: 4 kB / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2322, allocations: 0 / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.2322, 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.0003401/0.2325, allocations: 343.6 kB / 403.7 MB, free: 6.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.2326, allocations: 11.97 kB / 403.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.2326, allocations: 4.844 kB / 403.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.484e-05/0.2327, allocations: 173.8 kB / 403.9 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2327, allocations: 4.359 kB / 403.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.2327, allocations: 384 / 403.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.542e-05/0.2328, allocations: 37.64 kB / 404 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2328, allocations: 0 / 404 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/0.2328, allocations: 7.922 kB / 404 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2328, allocations: 4 kB / 404 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.2329, allocations: 0 / 404 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.2332, allocations: 252.8 kB / 404.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.62e-05/0.2332, allocations: 30.56 kB / 404.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.2332, allocations: 12.92 kB / 404.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.2333, allocations: 0 / 404.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.688e-05/0.2334, allocations: 51.41 kB / 404.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.2334, allocations: 0 / 404.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001486/0.2335, allocations: 61.52 kB / 404.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.2336, allocations: 55.41 kB / 404.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.2336, allocations: 105.8 kB / 404.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.2337, allocations: 33.64 kB / 404.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.2337, allocations: 84.14 kB / 404.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.2337, allocations: 11.89 kB / 404.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.2337, allocations: 13.72 kB / 404.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.2338, allocations: 322.8 kB / 405 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.2339, allocations: 4 kB / 405 MB, free: 5.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.758e-05/0.2339, allocations: 21.72 kB / 405 MB, free: 5.023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.393e-05/0.2339, allocations: 37.64 kB / 405.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.234, allocations: 0 / 405.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.383e-05/0.234, allocations: 49.69 kB / 405.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2341, allocations: 8 kB / 405.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2341, allocations: 3.938 kB / 405.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.2341, allocations: 0 / 405.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/0.2341, allocations: 8 kB / 405.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2342, allocations: 0 / 405.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.2342, allocations: 11.69 kB / 405.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.2342, allocations: 7.938 kB / 405.1 MB, free: 4.891 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 6.583e-05/0.2343, allocations: 113.8 kB / 405.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.2343, allocations: 7.906 kB / 405.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.2343, allocations: 7.906 kB / 405.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2343, allocations: 0 / 405.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2343, allocations: 0 / 405.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.2344, allocations: 77.11 kB / 405.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.2344, allocations: 4.375 kB / 405.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.446e-05/0.2344, allocations: 7.938 kB / 405.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.2344, allocations: 3.984 kB / 405.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.654e-05/0.2345, allocations: 129.1 kB / 405.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001201/0.2346, allocations: 226.8 kB / 405.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.011e-05/0.2347, allocations: 8 kB / 405.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.309e-05/0.2347, allocations: 83.27 kB / 405.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of Backend: time 1.9e-07/0.2347, allocations: 0 / 405.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006037/0.2353, allocations: 182.9 kB / 406 MB, free: 4.023 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004078/0.2357, allocations: 0.557 MB / 406.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of Templates: time 0.003492/0.2392, allocations: 0.9767 MB / 407.5 MB, free: 2.441 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