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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] 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=5201,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=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.354e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002724/0.002757, allocations: 1.349 MB / 268.7 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008681/0.003625, allocations: 358.7 kB / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.003659, allocations: 0 / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.003683, allocations: 0 / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.003756, allocations: 3.938 kB / 269 MB, free: 5.027 MB / 250.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.0005262/0.004282, allocations: 91.58 kB / 269.1 MB, free: 4.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.66e-05/0.004369, allocations: 19.92 kB / 269.1 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.004404, allocations: 4 kB / 269.1 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.812e-05/0.004442, allocations: 11.92 kB / 269.1 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.329e-05/0.004465, allocations: 11.98 kB / 269.2 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.004479, allocations: 0 / 269.2 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.004745, allocations: 119.8 kB / 269.3 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.00476, allocations: 3.984 kB / 269.3 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.00479, allocations: 7.938 kB / 269.3 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.005014, allocations: 99.69 kB / 269.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.005018, allocations: 0 / 269.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005019, allocations: 0 / 269.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.005024, allocations: 0 / 269.4 MB, free: 4.664 MB / 250.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.0005325/0.005557, allocations: 376.1 kB / 269.7 MB, free: 4.262 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.0056, allocations: 8.922 kB / 269.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.005656, allocations: 12.89 kB / 269.8 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.005799, allocations: 120.5 kB / 269.9 MB, free: 4.098 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.005813, allocations: 384 / 269.9 MB, free: 4.098 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.005825, allocations: 4.375 kB / 269.9 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.005926, allocations: 38.25 kB / 269.9 MB, free: 4.051 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.005937, allocations: 3.938 kB / 269.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.005947, allocations: 0 / 269.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.005951, allocations: 0 / 269.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.005975, allocations: 4 kB / 269.9 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.006375, allocations: 243.8 kB / 270.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.337e-05/0.006469, allocations: 42.98 kB / 270.2 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.006501, allocations: 15.75 kB / 270.2 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.006514, allocations: 3.938 kB / 270.2 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.006628, allocations: 57.06 kB / 270.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.006629, allocations: 0 / 270.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002184/0.006848, allocations: 65.56 kB / 270.4 MB, free: 3.551 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.006899, allocations: 51.41 kB / 270.4 MB, free: 3.488 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.007047, allocations: 169.9 kB / 270.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.007069, allocations: 25.7 kB / 270.6 MB, free: 3.273 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/0.007167, allocations: 130.9 kB / 270.7 MB, free: 3.141 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.007184, allocations: 11.95 kB / 270.7 MB, free: 3.129 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.007232, allocations: 23.38 kB / 270.8 MB, free: 3.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000267/0.007499, allocations: 0.4884 MB / 271.2 MB, free: 2.598 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.007524, allocations: 8 kB / 271.3 MB, free: 2.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.007561, allocations: 19.38 kB / 271.3 MB, free: 2.562 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.121e-05/0.007622, allocations: 47.42 kB / 271.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007624, allocations: 0 / 271.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001082/0.007732, allocations: 65.61 kB / 271.4 MB, free: 2.438 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.007747, allocations: 4 kB / 271.4 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.007751, allocations: 4.031 kB / 271.4 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.007768, allocations: 4 kB / 271.4 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.007829, allocations: 7.938 kB / 271.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.007834, allocations: 0 / 271.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.007854, allocations: 7.953 kB / 271.4 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.00786, allocations: 0 / 271.4 MB, free: 2.41 MB / 250.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 0.0001214/0.007981, allocations: 164.6 kB / 271.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.007993, allocations: 3.938 kB / 271.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.008024, allocations: 8 kB / 271.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.008033, allocations: 0 / 271.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.008036, allocations: 4.375 kB / 271.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.008039, allocations: 0 / 271.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.008328, allocations: 297.4 kB / 271.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008329, allocations: 0 / 271.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/0.008341, allocations: 0 / 271.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.00835, allocations: 4 kB / 271.9 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.008356, allocations: 0 / 271.9 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008357, allocations: 0 / 271.9 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.008358, allocations: 0 / 271.9 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.00855, allocations: 207.8 kB / 272.1 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.008562, allocations: 4 kB / 272.1 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.008573, allocations: 4 kB / 272.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.899e-05/0.008612, allocations: 0 / 272.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.008639, allocations: 0 / 272.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.008651, allocations: 7.938 kB / 272.1 MB, free: 1.641 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.309e-05/0.008734, allocations: 131.2 kB / 272.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008734, allocations: 0 / 272.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000276/0.00901, allocations: 31.88 kB / 272.3 MB, free: 1.48 MB / 250.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.0006143/0.009625, allocations: 192 kB / 272.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.009735, allocations: 27.67 kB / 272.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.009736, allocations: 0 / 272.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.359e-05/0.00978, allocations: 27.61 kB / 272.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.009983, allocations: 3.938 kB / 272.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.01028, allocations: 118.3 kB / 272.6 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.01e-05/0.01035, allocations: 63.41 kB / 272.7 MB, free: 1.027 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.976e-05/0.01037, allocations: 7.859 kB / 272.7 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.0104, allocations: 12.5 kB / 272.7 MB, free: 1.008 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0104, allocations: 0 / 272.7 MB, free: 1.008 MB / 250.7 MB Notification: Performance of Templates: time 0.00411/0.01451, allocations: 0.9822 MB / 273.7 MB, free: 24 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4521915970835835]