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.002118/0.002118, allocations: 89.3 kB / 20.68 MB, free: 1.02 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.002724/0.002724, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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.442/1.442, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] 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.342e-06/1.342e-06, allocations: 0 / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.659e-05, allocations: 2.281 kB / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002295/0.002322, allocations: 1.346 MB / 326.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008842/0.003206, allocations: 352.3 kB / 326.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.003241, allocations: 0 / 326.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.003269, allocations: 3.938 kB / 326.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.872e-05/0.003338, allocations: 5.578 kB / 326.7 MB, free: 15.32 MB / 302.1 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.0005472/0.003885, allocations: 95.89 kB / 326.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.136e-05/0.003966, allocations: 21.45 kB / 326.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.004008, allocations: 2.016 kB / 326.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.004054, allocations: 10.42 kB / 326.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.004084, allocations: 12.08 kB / 326.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.0041, allocations: 2.094 kB / 326.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.004393, allocations: 119.7 kB / 327 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.004407, allocations: 1.812 kB / 327 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.004435, allocations: 6.625 kB / 327 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.004674, allocations: 104.2 kB / 327.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.155e-06/0.004677, allocations: 4 kB / 327.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004677, allocations: 0 / 327.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.004681, allocations: 1.156 kB / 327.1 MB, free: 15.16 MB / 302.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.0004197/0.005101, allocations: 273.3 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.005139, allocations: 12.8 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.00517, allocations: 3.406 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.674e-05/0.005266, allocations: 105.6 kB / 327.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.005283, allocations: 5.25 kB / 327.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.005298, allocations: 9.516 kB / 327.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.449e-05/0.005393, allocations: 36.81 kB / 327.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.005404, allocations: 5.625 kB / 327.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.005414, allocations: 9.25 kB / 327.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.005418, allocations: 384 / 327.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.00544, allocations: 6.906 kB / 327.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.005756, allocations: 191.2 kB / 327.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.7e-05/0.005823, allocations: 28.7 kB / 327.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.00585, allocations: 10.16 kB / 327.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.00586, allocations: 0 / 327.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.006013, allocations: 53.48 kB / 327.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.006014, allocations: 0 / 327.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001868/0.006201, allocations: 68.45 kB / 327.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.006244, allocations: 52.78 kB / 327.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.006355, allocations: 104 kB / 328 MB, free: 14.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.006373, allocations: 26.95 kB / 328.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.006428, allocations: 86.05 kB / 328.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.006443, allocations: 6.047 kB / 328.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.006483, allocations: 20.38 kB / 328.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.006632, allocations: 313.1 kB / 328.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.006659, allocations: 9.078 kB / 328.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.006695, allocations: 17.89 kB / 328.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.508e-05/0.00675, allocations: 36.69 kB / 328.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.006752, allocations: 0 / 328.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001041/0.006856, allocations: 58.45 kB / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.006869, allocations: 6.109 kB / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.006876, allocations: 5.312 kB / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.00689, allocations: 0 / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.00695, allocations: 12.36 kB / 328.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.006955, allocations: 0 / 328.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/0.006971, allocations: 2.531 kB / 328.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.006979, allocations: 6.312 kB / 328.6 MB, free: 13.63 MB / 302.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 8.306e-05/0.007062, allocations: 116.5 kB / 328.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.007072, allocations: 2.156 kB / 328.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.007099, allocations: 10.22 kB / 328.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.0071, allocations: 0 / 328.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.007103, allocations: 1.281 kB / 328.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.007105, allocations: 0 / 328.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.007327, allocations: 232.7 kB / 329 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.007329, allocations: 0.5156 kB / 329 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.441e-05/0.007343, allocations: 6.688 kB / 329 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.00735, allocations: 9.391 kB / 329 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.007356, allocations: 4 kB / 329 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.00736, allocations: 6.234 kB / 329 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007361, allocations: 0 / 329 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.007499, allocations: 148.7 kB / 329.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.007508, allocations: 5.062 kB / 329.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.00752, allocations: 1.75 kB / 329.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.257e-05/0.007563, allocations: 1.156 kB / 329.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.007591, allocations: 2.859 kB / 329.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.007602, allocations: 1.188 kB / 329.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.242e-05/0.007654, allocations: 87.36 kB / 329.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.007655, allocations: 0 / 329.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.007916, allocations: 27.83 kB / 329.3 MB, free: 13.01 MB / 302.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.0004555/0.008372, allocations: 191.9 kB / 329.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.239e-05/0.008464, allocations: 22.75 kB / 329.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.008465, allocations: 1.156 kB / 329.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.308e-05/0.008488, allocations: 5.859 kB / 329.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.008695, allocations: 6.891 kB / 329.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.008981, allocations: 118.1 kB / 329.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.192e-05/0.009042, allocations: 61.83 kB / 329.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.568e-05/0.009068, allocations: 5.812 kB / 329.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.009086, allocations: 12.12 kB / 329.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.009087, allocations: 0 / 329.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of Templates: time 0.004107/0.01319, allocations: 0.9712 MB / 330.7 MB, free: 12.48 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.3098099157214165]