Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009008/0.0009008, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004242/0.004242, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9501/0.9501, allocations: 177.2 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.227e-05, allocations: 4.812 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002468/0.002491, allocations: 1.481 MB / 327.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.003586, allocations: 0.5767 MB / 327.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.003641, allocations: 0 / 327.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.003742, allocations: 11.88 kB / 327.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.003819, allocations: 15.8 kB / 327.9 MB, free: 13.32 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.0005893/0.004409, allocations: 163.3 kB / 328.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.004573, allocations: 115.6 kB / 328.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.004621, allocations: 9.312 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.329e-05/0.004715, allocations: 63.88 kB / 328.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005254/0.00524, allocations: 61.78 kB / 328.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.00527, allocations: 12 kB / 328.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.005544, allocations: 135.7 kB / 328.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.005602, allocations: 39.83 kB / 328.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.005654, allocations: 31.91 kB / 328.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.006003, allocations: 215.3 kB / 328.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.006006, allocations: 4 kB / 328.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006007, allocations: 0 / 328.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.006014, allocations: 4 kB / 328.8 MB, free: 12.48 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006309/0.006645, allocations: 392.3 kB / 329.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.006686, allocations: 8.031 kB / 329.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.006975, allocations: 32.88 kB / 329.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.007127, allocations: 145.5 kB / 329.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.007148, allocations: 384 / 329.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.007175, allocations: 20.3 kB / 329.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.007381, allocations: 111.9 kB / 329.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.007392, allocations: 192 / 329.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.007406, allocations: 8.125 kB / 329.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.007413, allocations: 4 kB / 329.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.007561, allocations: 55.89 kB / 329.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.008112, allocations: 289.2 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.008371, allocations: 121.2 kB / 329.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.081e-05/0.008462, allocations: 57.62 kB / 330 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.008474, allocations: 0 / 330 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.008697, allocations: 151.6 kB / 330.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.008698, allocations: 0 / 330.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004512/0.009149, allocations: 229.5 kB / 330.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.009208, allocations: 93.11 kB / 330.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.00936, allocations: 178.9 kB / 330.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.0094, allocations: 49.67 kB / 330.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.675e-05/0.009466, allocations: 108.6 kB / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.009511, allocations: 43.67 kB / 330.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.009592, allocations: 53.89 kB / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.009708, allocations: 330.8 kB / 331.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.009876, allocations: 96.47 kB / 331.3 MB, free: 9.758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.01007, allocations: 132 kB / 331.4 MB, free: 9.621 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.01038, allocations: 207.5 kB / 331.6 MB, free: 9.406 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01039, allocations: 0 / 331.6 MB, free: 9.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004526/0.01084, allocations: 301.3 kB / 331.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01086, allocations: 4 kB / 331.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.01087, allocations: 3.984 kB / 331.9 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.01088, allocations: 4 kB / 331.9 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.01101, allocations: 31.98 kB / 332 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.01102, allocations: 0 / 332 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.032e-05/0.01109, allocations: 27.78 kB / 332 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.01111, allocations: 4 kB / 332 MB, free: 9.031 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001253/0.01123, allocations: 149.9 kB / 332.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.01126, allocations: 19.86 kB / 332.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.01129, allocations: 13.47 kB / 332.2 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01129, allocations: 0 / 332.2 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.01129, allocations: 4 kB / 332.2 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.0113, allocations: 0 / 332.2 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.01144, allocations: 145.2 kB / 332.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01144, allocations: 0 / 332.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.01148, allocations: 11.94 kB / 332.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01149, allocations: 0 / 332.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.0115, allocations: 7.984 kB / 332.3 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.0115, allocations: 0 / 332.3 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.0115, allocations: 3.938 kB / 332.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.01182, allocations: 221.8 kB / 332.5 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.01184, allocations: 19.84 kB / 332.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.01187, allocations: 7.938 kB / 332.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.227e-05/0.01191, allocations: 7.984 kB / 332.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.01196, allocations: 15.98 kB / 332.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.01197, allocations: 0 / 332.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.084e-05/0.01206, allocations: 128.2 kB / 332.7 MB, free: 8.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01206, allocations: 0 / 332.7 MB, free: 8.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000287/0.01234, allocations: 51.92 kB / 332.8 MB, free: 8.184 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003856/0.01273, allocations: 222.2 kB / 333 MB, free: 7.996 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.01307, allocations: 171.9 kB / 333.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.01308, allocations: 4 kB / 333.2 MB, free: 7.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.01318, allocations: 55.91 kB / 333.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.01336, allocations: 11.86 kB / 333.2 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.01381, allocations: 280.8 kB / 333.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.945e-05/0.01389, allocations: 93.78 kB / 333.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.01393, allocations: 20.48 kB / 333.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01393, allocations: 4.062 kB / 333.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of Templates: time 0.004049/0.01798, allocations: 2.361 MB / 336 MB, free: 4.949 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.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: 5.099321669898927]