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.001197/0.001197, allocations: 80.25 kB / 22.21 MB, free: 2.277 MB / 18.57 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.001208/0.001208, allocations: 165.5 kB / 25.61 MB, free: 8.883 MB / 18.57 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 0.9673/0.9673, allocations: 177 MB / 205.9 MB, free: 4.434 MB / 186.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.362e-06/1.362e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.512e-05, allocations: 3.469 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001994/0.002019, allocations: 1.39 MB / 275.5 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005357/0.002555, allocations: 358.7 kB / 275.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.002586, allocations: 0 / 275.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.002605, allocations: 0 / 275.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.893e-05/0.002654, allocations: 3.938 kB / 275.9 MB, free: 2.531 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.000387/0.003041, allocations: 95.56 kB / 276 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.261e-05/0.003093, allocations: 20.61 kB / 276 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.649e-05/0.00312, allocations: 0 / 276 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.301e-05/0.003153, allocations: 16.86 kB / 276 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.697e-05/0.00317, allocations: 4 kB / 276 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.00318, allocations: 0.625 kB / 276 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.003345, allocations: 119.7 kB / 276.1 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.003358, allocations: 2.219 kB / 276.1 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.003374, allocations: 11.94 kB / 276.1 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.003507, allocations: 99.67 kB / 276.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003508, allocations: 0 / 276.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003509, allocations: 0 / 276.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.003513, allocations: 0 / 276.2 MB, free: 2.172 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.000314/0.003827, allocations: 370.4 kB / 276.6 MB, free: 1.773 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.003868, allocations: 12.03 kB / 276.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.003898, allocations: 0.9375 kB / 276.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.778e-05/0.003976, allocations: 116.5 kB / 276.7 MB, free: 1.621 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.003989, allocations: 4.359 kB / 276.7 MB, free: 1.617 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-06/0.003995, allocations: 1.031 kB / 276.7 MB, free: 1.617 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.787e-05/0.004063, allocations: 38.19 kB / 276.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.004069, allocations: 4.188 kB / 276.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.004076, allocations: 384 / 276.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.004082, allocations: 4.375 kB / 276.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.077e-05/0.004093, allocations: 7.922 kB / 276.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.004347, allocations: 228.4 kB / 277 MB, free: 1.309 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.066e-05/0.004398, allocations: 31 kB / 277 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.004416, allocations: 11.75 kB / 277 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.004422, allocations: 0 / 277 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.498e-05/0.004506, allocations: 65.03 kB / 277.1 MB, free: 1.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.004507, allocations: 4 kB / 277.1 MB, free: 1.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001346/0.004642, allocations: 49.62 kB / 277.2 MB, free: 1.113 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.004671, allocations: 55.34 kB / 277.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.004791, allocations: 165.9 kB / 277.4 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.004803, allocations: 29.7 kB / 277.4 MB, free: 0.832 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.004844, allocations: 126.9 kB / 277.5 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.004858, allocations: 7.953 kB / 277.5 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.004887, allocations: 23.38 kB / 277.6 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.005013, allocations: 0.4884 MB / 278 MB, free: 168 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.005031, allocations: 20.64 kB / 278.1 MB, free: 144 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.301e-05/0.005054, allocations: 31.61 kB / 278.1 MB, free: 104 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.005088, allocations: 23.38 kB / 278.1 MB, free: 72 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.00509, allocations: 0 / 278.1 MB, free: 72 kB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.812e-05/0.005158, allocations: 57.58 kB / 278.2 MB, free: 8 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.005169, allocations: 4 kB / 278.2 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.005175, allocations: 4 kB / 278.2 MB, free: 0 / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.005201, allocations: 208 / 278.2 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.908e-05/0.005241, allocations: 7.938 kB / 278.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.005245, allocations: 7.922 kB / 278.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.257e-05/0.005257, allocations: 8 kB / 278.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.005263, allocations: 4.031 kB / 278.2 MB, free: 15.97 MB / 266.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 0.0001359/0.005399, allocations: 160.6 kB / 278.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.005406, allocations: 0 / 278.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.005425, allocations: 8 kB / 278.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005426, allocations: 0 / 278.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.005429, allocations: 3.938 kB / 278.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.005433, allocations: 0 / 278.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.005573, allocations: 262.4 kB / 278.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.005573, allocations: 0 / 278.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-06/0.005582, allocations: 3.938 kB / 278.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-06/0.005583, allocations: 8.047 kB / 278.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.005587, allocations: 3.984 kB / 278.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.005589, allocations: 3.938 kB / 278.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00559, allocations: 0 / 278.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.683e-05/0.005666, allocations: 199.9 kB / 278.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.005672, allocations: 3.984 kB / 278.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-06/0.005678, allocations: 0 / 278.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.443e-05/0.005703, allocations: 7.938 kB / 278.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.005718, allocations: 4 kB / 278.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.005725, allocations: 0 / 278.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.618e-05/0.005761, allocations: 131.3 kB / 279 MB, free: 15.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005761, allocations: 7.938 kB / 279 MB, free: 15.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.005951, allocations: 23.94 kB / 279 MB, free: 15.09 MB / 266.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.0002825/0.006233, allocations: 194.3 kB / 279.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.294e-05/0.006296, allocations: 23.67 kB / 279.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.81e-07/0.006297, allocations: 0 / 279.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.825e-05/0.006315, allocations: 15.67 kB / 279.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.00644, allocations: 0 / 279.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001751/0.006615, allocations: 122.3 kB / 279.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.00665, allocations: 59.22 kB / 279.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.297e-05/0.006673, allocations: 7.984 kB / 279.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.006703, allocations: 70.2 kB / 279.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.006703, allocations: 64 / 279.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Templates: time 0.00272/0.009424, allocations: 1.115 MB / 280.6 MB, free: 13.46 MB / 266.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 -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.7495415951125324]