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.009711/0.009711, allocations: 107.7 kB / 21.98 MB, free: 5.223 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.002532/0.002532, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.474/1.474, allocations: 230.6 MB / 259 MB, free: 8.047 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.002034/0.002034, allocations: 55.91 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2809, allocations: 53.37 MB / 433.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003276/0.2842, allocations: 1.356 MB / 434.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009337/0.2851, allocations: 366.8 kB / 434.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/0.2851, allocations: 4 kB / 434.9 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.2852, allocations: 3.938 kB / 434.9 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.285e-05/0.2852, allocations: 0 / 434.9 MB, free: 5.227 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.000656/0.2859, allocations: 91.7 kB / 435 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.121e-05/0.286, allocations: 19.92 kB / 435 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.037e-05/0.286, allocations: 4 kB / 435 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.2861, allocations: 11.94 kB / 435 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.147e-05/0.2861, allocations: 7.922 kB / 435 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.2861, allocations: 4 kB / 435 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.2864, allocations: 123.8 kB / 435.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.2864, allocations: 4 kB / 435.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.2865, allocations: 7.938 kB / 435.2 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.2867, allocations: 91.59 kB / 435.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2867, allocations: 0 / 435.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2867, allocations: 3.938 kB / 435.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2867, allocations: 0 / 435.3 MB, free: 4.867 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.0004712/0.2872, allocations: 275.6 kB / 435.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.2872, allocations: 8.031 kB / 435.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.2873, allocations: 0.9375 kB / 435.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2874, allocations: 114.5 kB / 435.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2874, allocations: 384 / 435.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.2874, allocations: 12.34 kB / 435.7 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.2875, allocations: 38.2 kB / 435.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.2875, allocations: 192 / 435.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2875, allocations: 3.938 kB / 435.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2875, allocations: 4 kB / 435.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.203e-05/0.2876, allocations: 0 / 435.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.2879, allocations: 220 kB / 435.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.568e-05/0.288, allocations: 26.5 kB / 435.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.288, allocations: 16.86 kB / 436 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.288, allocations: 0 / 436 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.2882, allocations: 55.41 kB / 436 MB, free: 3.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.2882, allocations: 0 / 436 MB, free: 3.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002027/0.2884, allocations: 57.61 kB / 436.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.2885, allocations: 51.41 kB / 436.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.2886, allocations: 101.9 kB / 436.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.2886, allocations: 29.7 kB / 436.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.2886, allocations: 88.12 kB / 436.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.2886, allocations: 11.94 kB / 436.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.2887, allocations: 17.72 kB / 436.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2888, allocations: 318.8 kB / 436.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.2889, allocations: 4 kB / 436.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-05/0.2889, allocations: 21.72 kB / 436.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.095e-05/0.2889, allocations: 25.7 kB / 436.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2889, allocations: 3.938 kB / 436.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.894e-05/0.289, allocations: 69.58 kB / 436.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2891, allocations: 4 kB / 436.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2891, allocations: 0 / 436.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.2891, allocations: 0 / 436.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.2892, allocations: 8 kB / 436.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2892, allocations: 7.875 kB / 436.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.2892, allocations: 0 / 436.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.2892, allocations: 4 kB / 436.8 MB, free: 3.105 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 0.000103/0.2893, allocations: 125.7 kB / 436.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.2893, allocations: 4 kB / 436.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.2893, allocations: 4 kB / 436.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2893, allocations: 0 / 436.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2893, allocations: 0 / 436.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2893, allocations: 0 / 436.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.2896, allocations: 258.3 kB / 437.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2896, allocations: 48 / 437.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.2896, allocations: 15.92 kB / 437.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2896, allocations: 0 / 437.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2896, allocations: 7.984 kB / 437.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2896, allocations: 0 / 437.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2896, allocations: 0 / 437.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.2898, allocations: 147.4 kB / 437.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.2898, allocations: 4 kB / 437.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.2898, allocations: 4 kB / 437.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.048e-05/0.2898, allocations: 0 / 437.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.2898, allocations: 3.984 kB / 437.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.2899, allocations: 4 kB / 437.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.484e-05/0.2899, allocations: 87.28 kB / 437.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2899, allocations: 0 / 437.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.2902, allocations: 23.92 kB / 437.5 MB, free: 2.348 MB / 334.1 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.0004774/0.2907, allocations: 190.9 kB / 437.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.2908, allocations: 19.94 kB / 437.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2908, allocations: 0 / 437.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.326e-05/0.2908, allocations: 11.98 kB / 437.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.291, allocations: 3.938 kB / 437.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.2913, allocations: 139.3 kB / 437.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.2917, allocations: 0.6846 MB / 438.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.2917, allocations: 7.438 kB / 438.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2917, allocations: 0 / 438.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of Templates: time 0.003321/0.295, allocations: 1.155 MB / 439.7 MB, free: 108 kB / 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 7.6083328439854085]