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.0007651/0.0007651, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001847, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006451/0.0006451, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009597/0.001605, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9873/0.9873, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1208/1.108, allocations: 52.5 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] 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.573e-06/1.573e-06, allocations: 3.938 kB / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.148e-05, allocations: 3.859 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.00206/0.002091, allocations: 1.409 MB / 241 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005274/0.002618, allocations: 364.2 kB / 241.3 MB, free: 1.387 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.039e-05/0.002649, allocations: 0 / 241.3 MB, free: 1.387 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.002671, allocations: 7.938 kB / 241.3 MB, free: 1.379 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 3.224e-05/0.002703, allocations: 0 / 241.3 MB, free: 1.379 MB / 234.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.0003718/0.003075, allocations: 87.58 kB / 241.4 MB, free: 1.293 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.047e-05/0.003135, allocations: 15.92 kB / 241.4 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.134e-05/0.003167, allocations: 4 kB / 241.4 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.003e-05/0.003217, allocations: 15.92 kB / 241.5 MB, free: 1.258 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.245e-05/0.003239, allocations: 7.984 kB / 241.5 MB, free: 1.25 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.003251, allocations: 4 kB / 241.5 MB, free: 1.246 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.003457, allocations: 123.7 kB / 241.6 MB, free: 1.125 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.00347, allocations: 0 / 241.6 MB, free: 1.125 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.541e-05/0.003485, allocations: 7.938 kB / 241.6 MB, free: 1.117 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.003624, allocations: 79.78 kB / 241.7 MB, free: 1.039 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.458e-05/0.003638, allocations: 3.938 kB / 241.7 MB, free: 1.035 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.00364, allocations: 0 / 241.7 MB, free: 1.035 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.003654, allocations: 0 / 241.7 MB, free: 1.035 MB / 234.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.0004829/0.004137, allocations: 260.4 kB / 241.9 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.004172, allocations: 8.031 kB / 241.9 MB, free: 0.75 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.004203, allocations: 4.938 kB / 241.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.784e-05/0.004291, allocations: 109.8 kB / 242.1 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.004306, allocations: 4.375 kB / 242.1 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.004314, allocations: 384 / 242.1 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.908e-05/0.004373, allocations: 34.25 kB / 242.1 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.00438, allocations: 7.922 kB / 242.1 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.004386, allocations: 0 / 242.1 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.004391, allocations: 0 / 242.1 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.29e-05/0.004404, allocations: 7.938 kB / 242.1 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.00458, allocations: 144.3 kB / 242.2 MB, free: 408 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.043e-05/0.00462, allocations: 22.58 kB / 242.3 MB, free: 376 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.004633, allocations: 8.906 kB / 242.3 MB, free: 364 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.2e-06/0.004638, allocations: 4 kB / 242.3 MB, free: 360 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.344e-05/0.004711, allocations: 59.2 kB / 242.3 MB, free: 288 kB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.004712, allocations: 4 kB / 242.3 MB, free: 284 kB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 9.281e-05/0.004805, allocations: 41.69 kB / 242.4 MB, free: 236 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.004833, allocations: 51.41 kB / 242.4 MB, free: 172 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.541e-05/0.004898, allocations: 110.7 kB / 242.5 MB, free: 48 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.956e-06/0.004907, allocations: 25.7 kB / 242.6 MB, free: 16 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.005018, allocations: 84.14 kB / 242.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.005032, allocations: 7.953 kB / 242.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.005064, allocations: 25.69 kB / 242.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.005132, allocations: 314.8 kB / 243 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.005148, allocations: 12.7 kB / 243 MB, free: 15.56 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.773e-05/0.005166, allocations: 25.64 kB / 243 MB, free: 15.53 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/0.005195, allocations: 21.7 kB / 243 MB, free: 15.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005197, allocations: 384 / 243 MB, free: 15.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.44e-05/0.005251, allocations: 49.61 kB / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.005264, allocations: 7.938 kB / 243.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.00527, allocations: 8.031 kB / 243.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.005279, allocations: 0 / 243.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.912e-05/0.005328, allocations: 12 kB / 243.1 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.005332, allocations: 4 kB / 243.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.005345, allocations: 3.953 kB / 243.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.005349, allocations: 0 / 243.1 MB, free: 15.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.seed,globalSeed.id_impure,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 5.633e-05/0.005406, allocations: 121.7 kB / 243.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-06/0.005412, allocations: 3.938 kB / 243.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.005436, allocations: 12 kB / 243.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.005437, allocations: 0 / 243.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.005439, allocations: 4 kB / 243.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.005441, allocations: 0 / 243.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.005571, allocations: 186.8 kB / 243.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.005572, allocations: 0 / 243.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-05/0.005584, allocations: 7.938 kB / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.005591, allocations: 4.219 kB / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.005592, allocations: 0 / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-06/0.005596, allocations: 0 / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.005599, allocations: 4 kB / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.005601, allocations: 3.984 kB / 243.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.055e-05/0.005661, allocations: 135.4 kB / 243.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.00567, allocations: 8 kB / 243.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.621e-05/0.005696, allocations: 7.984 kB / 243.6 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.00571, allocations: 0 / 243.6 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.005717, allocations: 0 / 243.6 MB, free: 14.87 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.182e-05/0.005729, allocations: 8.859 kB / 243.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.005729, allocations: 0 / 243.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.005899, allocations: 27.92 kB / 243.7 MB, free: 14.83 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.0003997/0.006299, allocations: 213.6 kB / 243.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.685e-05/0.006366, allocations: 24.78 kB / 243.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.00637, allocations: 0 / 243.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.291e-05/0.006383, allocations: 8.859 kB / 243.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.579e-05/0.006479, allocations: 15.92 kB / 243.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.006791, allocations: 116.5 kB / 244 MB, free: 14.48 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.945e-05/0.00682, allocations: 55.36 kB / 244.1 MB, free: 14.4 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.392e-05/0.006844, allocations: 7.984 kB / 244.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.006872, allocations: 51.38 kB / 244.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006873, allocations: 0 / 244.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of Templates: time 0.002639/0.009512, allocations: 1.117 MB / 245.3 MB, free: 13.23 MB / 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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.552642294205725]