Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001513/0.001513, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001801/0.001801, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.393/1.393, allocations: 230.4 MB / 258.1 MB, free: 8.129 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2362, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002613/0.2389, allocations: 1.363 MB / 433.4 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007331/0.2396, allocations: 358.9 kB / 433.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.2396, allocations: 0 / 433.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.2396, allocations: 0 / 433.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.024e-05/0.2397, allocations: 11.88 kB / 433.8 MB, free: 5.648 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0004407/0.2401, allocations: 87.7 kB / 433.9 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.346e-05/0.2402, allocations: 23.88 kB / 433.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.2402, allocations: 0 / 433.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.2403, allocations: 11.97 kB / 433.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.529e-05/0.2403, allocations: 11.94 kB / 433.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.2403, allocations: 0 / 433.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.2405, allocations: 91.89 kB / 434 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.2405, allocations: 4 kB / 434 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.2406, allocations: 7.938 kB / 434 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.2407, allocations: 87.55 kB / 434.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2407, allocations: 0 / 434.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2407, allocations: 0 / 434.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.2407, allocations: 0 / 434.1 MB, free: 5.332 MB / 334.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.000433/0.2412, allocations: 356.9 kB / 434.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2412, allocations: 12.03 kB / 434.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.2412, allocations: 0.9375 kB / 434.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.2414, allocations: 164.4 kB / 434.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.2414, allocations: 4.375 kB / 434.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2414, allocations: 384 / 434.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.131e-05/0.2415, allocations: 34.25 kB / 434.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2415, allocations: 192 / 434.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.2415, allocations: 3.938 kB / 434.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.2415, allocations: 0 / 434.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/0.2415, allocations: 11.94 kB / 434.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.2418, allocations: 244.9 kB / 434.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.786e-05/0.2419, allocations: 26.56 kB / 434.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.2419, allocations: 12.86 kB / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.2419, allocations: 0 / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.242, allocations: 55.34 kB / 435 MB, free: 4.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.242, allocations: 4 kB / 435 MB, free: 4.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001719/0.2422, allocations: 57.69 kB / 435.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.2422, allocations: 55.39 kB / 435.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.483e-05/0.2423, allocations: 101.9 kB / 435.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.2423, allocations: 25.7 kB / 435.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.2424, allocations: 92.11 kB / 435.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.2424, allocations: 3.953 kB / 435.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.2424, allocations: 21.72 kB / 435.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2426, allocations: 314.8 kB / 435.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.2426, allocations: 15.92 kB / 435.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.83e-05/0.2426, allocations: 13.72 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.899e-05/0.2427, allocations: 33.66 kB / 435.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2427, allocations: 384 / 435.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001084/0.2428, allocations: 73.44 kB / 435.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2428, allocations: 4 kB / 435.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2428, allocations: 4.031 kB / 435.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2428, allocations: 8.234 kB / 435.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.328e-05/0.2429, allocations: 4 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.2429, allocations: 0 / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.062e-05/0.2429, allocations: 4 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.2429, allocations: 0 / 435.8 MB, free: 3.367 MB / 334.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 8.136e-05/0.243, allocations: 113.8 kB / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.243, allocations: 7.922 kB / 435.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.243, allocations: 7.906 kB / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.243, allocations: 4 kB / 436 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.243, allocations: 4 kB / 436 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.2431, allocations: 81.06 kB / 436 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.2431, allocations: 0 / 436 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.2431, allocations: 0 / 436 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.2431, allocations: 4 kB / 436 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001111/0.2432, allocations: 132.8 kB / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001567/0.2434, allocations: 218.8 kB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.882e-05/0.2434, allocations: 8 kB / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.157e-05/0.2435, allocations: 87.27 kB / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of Backend: time 2.41e-07/0.2435, allocations: 0 / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006183/0.2441, allocations: 172 kB / 436.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004418/0.2445, allocations: 0.5648 MB / 437.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of Templates: time 0.003409/0.2479, allocations: 0.9989 MB / 438.2 MB, free: 0.8984 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.067530398257077]