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.001063/0.001063, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009498/0.0009498, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9872/0.9872, allocations: 177 MB / 204.8 MB, free: 5.566 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.403e-06/1.403e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.857e-05, allocations: 9.203 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.00496/0.004979, allocations: 1.394 MB / 274.3 MB, free: 28 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006237/0.005603, allocations: 354.7 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.005631, allocations: 0 / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.00566, allocations: 3.938 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.84e-05/0.005718, allocations: 3.984 kB / 274.7 MB, free: 15.67 MB / 266.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.0004482/0.006166, allocations: 95.58 kB / 274.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.006228, allocations: 19.92 kB / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.354e-05/0.006261, allocations: 7.984 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.389e-05/0.006295, allocations: 7.938 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.999e-05/0.006315, allocations: 7.984 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.006327, allocations: 0 / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.006538, allocations: 123.7 kB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.006552, allocations: 3.984 kB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.006576, allocations: 7.938 kB / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.006748, allocations: 91.75 kB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00675, allocations: 0 / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.006751, allocations: 4 kB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.006755, allocations: 0 / 275 MB, free: 15.31 MB / 266.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.0003406/0.007096, allocations: 380.4 kB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.007134, allocations: 19.92 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.007173, allocations: 0.9375 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.421e-05/0.007257, allocations: 112.6 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.007269, allocations: 384 / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.007279, allocations: 4.375 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00309/0.01037, allocations: 30.25 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.01038, allocations: 192 / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.01039, allocations: 12.36 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.01039, allocations: 384 / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.367e-05/0.01041, allocations: 3.938 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.01066, allocations: 251.8 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.608e-05/0.01071, allocations: 31.05 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.01073, allocations: 11.75 kB / 275.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-06/0.01073, allocations: 0 / 275.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.864e-05/0.0108, allocations: 57.06 kB / 275.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.0108, allocations: 0 / 275.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.000141/0.01094, allocations: 65.55 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.01097, allocations: 51.41 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/0.01104, allocations: 161.9 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.01105, allocations: 29.69 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.0111, allocations: 130.9 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.01111, allocations: 7.953 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.01114, allocations: 23.38 kB / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.01126, allocations: 496.1 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.01128, allocations: 16.7 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.01131, allocations: 23.38 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.235e-05/0.01135, allocations: 43.61 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01135, allocations: 4 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.771e-05/0.01143, allocations: 57.58 kB / 277 MB, free: 13.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01144, allocations: 7.125 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.01145, allocations: 7.938 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.01146, allocations: 4 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.01151, allocations: 4 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.01151, allocations: 0 / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.01153, allocations: 4 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.01153, allocations: 0 / 277 MB, free: 13.07 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.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 6.61e-05/0.0116, allocations: 172.5 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.01161, allocations: 0 / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.01163, allocations: 7.938 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01163, allocations: 4 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01163, allocations: 0 / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01163, allocations: 0 / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.0118, allocations: 289.4 kB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.0118, allocations: 0 / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-06/0.01181, allocations: 4 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01181, allocations: 3.938 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.01181, allocations: 4.281 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.01182, allocations: 0 / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01182, allocations: 0 / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.253e-05/0.01191, allocations: 203.8 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.01192, allocations: 7.938 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.01193, allocations: 0 / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.673e-05/0.01196, allocations: 0 / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.01198, allocations: 0 / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.01199, allocations: 4 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.865e-05/0.01203, allocations: 131.2 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01203, allocations: 0 / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.01229, allocations: 31.88 kB / 277.9 MB, free: 12.16 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.0003388/0.01263, allocations: 181.8 kB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.01272, allocations: 35.7 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01272, allocations: 0 / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.495e-05/0.01274, allocations: 23.61 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.01293, allocations: 0 / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.01617, allocations: 122.2 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.493e-05/0.0162, allocations: 55.36 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.426e-05/0.01623, allocations: 7.984 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.01625, allocations: 8.5 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01625, allocations: 0 / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of Templates: time 0.008949/0.0252, allocations: 1.113 MB / 279.4 MB, free: 10.57 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.781196068972349]