Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0007684/0.0007684, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001785, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006765/0.0006765, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008451/0.001522, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.031/1.031, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1262/1.158, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.054e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003047/0.003078, allocations: 1.439 MB / 246.5 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007001/0.003778, allocations: 359.4 kB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.003808, allocations: 0 / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.003826, allocations: 4 kB / 246.8 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.546e-05/0.003861, allocations: 11.88 kB / 246.8 MB, free: 11.82 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0003996/0.004261, allocations: 83.58 kB / 246.9 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.004338, allocations: 19.92 kB / 246.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.004374, allocations: 4 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.004433, allocations: 19.97 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.887e-05/0.004461, allocations: 7.938 kB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.004476, allocations: 0 / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.004731, allocations: 115.8 kB / 247.1 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.004747, allocations: 4 kB / 247.1 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.004768, allocations: 8 kB / 247.1 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.004956, allocations: 83.72 kB / 247.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.748e-05/0.004973, allocations: 0 / 247.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004974, allocations: 0 / 247.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.133e-05/0.004995, allocations: 0 / 247.2 MB, free: 11.48 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.0004829/0.005478, allocations: 264.4 kB / 247.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.005519, allocations: 8.625 kB / 247.4 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.005548, allocations: 0.9375 kB / 247.4 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.005661, allocations: 105.8 kB / 247.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.005678, allocations: 384 / 247.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.005689, allocations: 4.375 kB / 247.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.314e-05/0.005782, allocations: 42.19 kB / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.005791, allocations: 192 / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.005801, allocations: 4.359 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.005809, allocations: 384 / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.763e-05/0.005826, allocations: 3.938 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.006071, allocations: 148.3 kB / 247.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.701e-05/0.006128, allocations: 22.55 kB / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.006148, allocations: 12.91 kB / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.006155, allocations: 0 / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.006268, allocations: 51.41 kB / 247.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.00627, allocations: 0 / 247.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001253/0.006395, allocations: 49.62 kB / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.006439, allocations: 55.34 kB / 247.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.006527, allocations: 118.6 kB / 248 MB, free: 10.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.006542, allocations: 25.7 kB / 248.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.006577, allocations: 80.14 kB / 248.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.006597, allocations: 11.94 kB / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.00664, allocations: 21.7 kB / 248.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.00675, allocations: 310.8 kB / 248.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/0.006773, allocations: 20.7 kB / 248.5 MB, free: 9.992 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.006801, allocations: 21.69 kB / 248.5 MB, free: 9.965 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.869e-05/0.00684, allocations: 17.72 kB / 248.5 MB, free: 9.941 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.006843, allocations: 3.938 kB / 248.5 MB, free: 9.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.927e-05/0.006922, allocations: 53.67 kB / 248.6 MB, free: 9.879 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.006937, allocations: 7.938 kB / 248.6 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.006943, allocations: 0 / 248.6 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.006954, allocations: 0 / 248.6 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/0.007016, allocations: 15.88 kB / 248.6 MB, free: 9.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.00702, allocations: 0 / 248.6 MB, free: 9.855 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.00704, allocations: 8.031 kB / 248.6 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.007049, allocations: 3.984 kB / 248.6 MB, free: 9.844 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 8.69e-05/0.007136, allocations: 117.8 kB / 248.7 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.007144, allocations: 0 / 248.7 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.007171, allocations: 8 kB / 248.8 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.007176, allocations: 4 kB / 248.8 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.00718, allocations: 3.938 kB / 248.8 MB, free: 9.707 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.007184, allocations: 0 / 248.8 MB, free: 9.707 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.007374, allocations: 182.8 kB / 248.9 MB, free: 9.504 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007375, allocations: 3.938 kB / 248.9 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-05/0.007387, allocations: 4 kB / 248.9 MB, free: 9.496 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.007395, allocations: 4 kB / 248.9 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.007396, allocations: 288 / 248.9 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.007401, allocations: 3.938 kB / 249 MB, free: 9.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.007403, allocations: 0 / 249 MB, free: 9.488 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007404, allocations: 0 / 249 MB, free: 9.488 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.679e-05/0.007491, allocations: 135.5 kB / 249.1 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.007502, allocations: 4 kB / 249.1 MB, free: 9.336 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.046e-05/0.007553, allocations: 8.297 kB / 249.1 MB, free: 9.328 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.007569, allocations: 4 kB / 249.1 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.007577, allocations: 0 / 249.1 MB, free: 9.324 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.939e-05/0.007597, allocations: 16.86 kB / 249.1 MB, free: 9.305 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007597, allocations: 0 / 249.1 MB, free: 9.305 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002568/0.007853, allocations: 31.92 kB / 249.1 MB, free: 9.273 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.0005513/0.008405, allocations: 210.2 kB / 249.4 MB, free: 9.102 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.719e-05/0.008482, allocations: 16.84 kB / 249.4 MB, free: 9.082 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.008491, allocations: 7.984 kB / 249.4 MB, free: 9.074 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/0.00851, allocations: 8.859 kB / 249.4 MB, free: 9.062 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.008665, allocations: 10.19 kB / 249.4 MB, free: 9.055 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.009105, allocations: 112.5 kB / 249.5 MB, free: 8.918 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.042e-05/0.009145, allocations: 51.36 kB / 249.6 MB, free: 8.848 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.967e-05/0.009175, allocations: 7.984 kB / 249.6 MB, free: 8.84 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.009212, allocations: 55.44 kB / 249.6 MB, free: 8.785 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009212, allocations: 0 / 249.6 MB, free: 8.785 MB / 250.7 MB Notification: Performance of Templates: time 0.00351/0.01272, allocations: 1.113 MB / 250.7 MB, free: 7.676 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.627160482108593]