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.001156/0.001156, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002642, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007182/0.0007182, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009353/0.001654, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.035/1.035, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09513/1.13, allocations: 53.87 MB / 243.9 MB, free: 14.88 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.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.375e-05, allocations: 6.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002009/0.002023, allocations: 1.443 MB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0035/0.005523, allocations: 359.3 kB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.005552, allocations: 0 / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.005573, allocations: 0 / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.148e-05/0.005604, allocations: 3.938 kB / 247 MB, free: 11.77 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.0003402/0.005945, allocations: 91.52 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.006009, allocations: 15.94 kB / 247.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.157e-05/0.006041, allocations: 4 kB / 247.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.226e-05/0.006093, allocations: 11.98 kB / 247.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.44e-05/0.006117, allocations: 15.92 kB / 247.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.006129, allocations: 0 / 247.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.006353, allocations: 115.7 kB / 247.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.006371, allocations: 4 kB / 247.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.006388, allocations: 7.984 kB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.006547, allocations: 79.73 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.006558, allocations: 0 / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006558, allocations: 0 / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.006569, allocations: 3.984 kB / 247.4 MB, free: 11.42 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.0003337/0.006903, allocations: 260.5 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.006934, allocations: 8.625 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.006963, allocations: 8.859 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.264e-05/0.007046, allocations: 105.8 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.007059, allocations: 384 / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.00707, allocations: 4.375 kB / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.122e-05/0.007131, allocations: 38.25 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.007138, allocations: 192 / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.007144, allocations: 384 / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.00715, allocations: 4.359 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.135e-05/0.007161, allocations: 11.88 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.007353, allocations: 144.3 kB / 247.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.37e-05/0.007397, allocations: 18.61 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.159e-05/0.007408, allocations: 8.922 kB / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-06/0.007413, allocations: 0 / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.464e-05/0.007488, allocations: 59.33 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.007489, allocations: 0 / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 9.594e-05/0.007585, allocations: 45.67 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.007614, allocations: 55.34 kB / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.007674, allocations: 110.7 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.007683, allocations: 29.7 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.007709, allocations: 84.12 kB / 248.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.007726, allocations: 11.95 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.007754, allocations: 17.7 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.007827, allocations: 314.8 kB / 248.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.007843, allocations: 16.7 kB / 248.7 MB, free: 9.938 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.00786, allocations: 17.66 kB / 248.7 MB, free: 9.914 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.031e-05/0.00789, allocations: 25.69 kB / 248.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.007892, allocations: 0 / 248.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.126e-05/0.007953, allocations: 57.62 kB / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.007964, allocations: 4 kB / 248.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.007969, allocations: 0 / 248.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.00798, allocations: 7.938 kB / 248.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.574e-05/0.008025, allocations: 11.92 kB / 248.8 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.008029, allocations: 0 / 248.8 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.505e-05/0.008044, allocations: 4 kB / 248.8 MB, free: 9.793 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.00805, allocations: 3.984 kB / 248.8 MB, free: 9.789 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 5.591e-05/0.008106, allocations: 117.7 kB / 248.9 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.008113, allocations: 4 kB / 248.9 MB, free: 9.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.731e-05/0.008131, allocations: 8.031 kB / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.008132, allocations: 4 kB / 248.9 MB, free: 9.648 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.008134, allocations: 3.938 kB / 249 MB, free: 9.645 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.008138, allocations: 7.922 kB / 249 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.01126, allocations: 174.9 kB / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.01126, allocations: 0 / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.01128, allocations: 0 / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-06/0.01128, allocations: 7.984 kB / 249.1 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.01128, allocations: 0 / 249.1 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.01129, allocations: 4.312 kB / 249.1 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01129, allocations: 3.984 kB / 249.1 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.01129, allocations: 8.281 kB / 249.2 MB, free: 9.418 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.205e-05/0.01138, allocations: 147.5 kB / 249.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-06/0.01138, allocations: 0 / 249.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.066e-05/0.01143, allocations: 7.938 kB / 249.3 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.01144, allocations: 0 / 249.3 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.01145, allocations: 0 / 249.3 MB, free: 9.25 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.434e-05/0.01146, allocations: 12.84 kB / 249.3 MB, free: 9.234 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01146, allocations: 0 / 249.3 MB, free: 9.234 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.01168, allocations: 27.94 kB / 249.3 MB, free: 9.207 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.0004234/0.01211, allocations: 201.5 kB / 249.5 MB, free: 9.043 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.553e-05/0.01217, allocations: 20.86 kB / 249.6 MB, free: 9.02 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.01218, allocations: 4 kB / 249.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.0122, allocations: 20.88 kB / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.01232, allocations: 4 kB / 249.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.01264, allocations: 120.6 kB / 249.7 MB, free: 8.844 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.01267, allocations: 55.34 kB / 249.8 MB, free: 8.77 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.238e-05/0.01269, allocations: 4 kB / 249.8 MB, free: 8.766 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.01272, allocations: 51.38 kB / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01272, allocations: 0 / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of Templates: time 0.005899/0.01862, allocations: 1.116 MB / 250.9 MB, free: 7.602 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.555465066805482]