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.001027/0.001027, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009844/0.0009844, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 1.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.633 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.933e-06/1.933e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.164e-05, allocations: 6.25 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00317/0.003191, allocations: 1.523 MB / 274.5 MB, free: 8 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.004493, allocations: 0.5845 MB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.004561, allocations: 4 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.004685, allocations: 7.875 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.004789, allocations: 23.78 kB / 275.1 MB, free: 15.38 MB / 266.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.000805/0.005594, allocations: 159.3 kB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.005884, allocations: 111.7 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.736e-05/0.005942, allocations: 9.312 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.006052, allocations: 71.8 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005698/0.006622, allocations: 73.73 kB / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/0.006671, allocations: 12 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.007022, allocations: 147.7 kB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.007086, allocations: 31.83 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.007146, allocations: 35.92 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.007538, allocations: 187.4 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.007541, allocations: 0 / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.007542, allocations: 0 / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.007547, allocations: 0 / 275.9 MB, free: 14.58 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006893/0.008236, allocations: 483.7 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.008281, allocations: 8.031 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.008579, allocations: 48.75 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.008703, allocations: 153.1 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.008719, allocations: 4.375 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.008735, allocations: 16.38 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.008881, allocations: 85.58 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.008888, allocations: 192 / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.0089, allocations: 8.125 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.008907, allocations: 0 / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.008953, allocations: 19.92 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.009472, allocations: 343.3 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.009612, allocations: 94.09 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.009649, allocations: 31.44 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.009657, allocations: 0 / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.009805, allocations: 124.4 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.009806, allocations: 4 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002768/0.01008, allocations: 145.5 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.01015, allocations: 97.03 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.0103, allocations: 233.8 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.01033, allocations: 45.69 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.0104, allocations: 151.4 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.01044, allocations: 47.69 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-05/0.01051, allocations: 63.58 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.01064, allocations: 0.5001 MB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.0107, allocations: 36.48 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/0.01077, allocations: 80.84 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.0109, allocations: 119.5 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.0109, allocations: 0 / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002042/0.01111, allocations: 181.4 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.01112, allocations: 12.06 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01113, allocations: 0 / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.01114, allocations: 3.984 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.01126, allocations: 43.92 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.01127, allocations: 0 / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.01131, allocations: 31.77 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.01132, allocations: 4 kB / 279.1 MB, free: 11.13 MB / 266.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.000103/0.01143, allocations: 188.6 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.01144, allocations: 23.84 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.01147, allocations: 17.45 kB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01147, allocations: 0 / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.01148, allocations: 4 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01148, allocations: 0 / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.0116, allocations: 144.5 kB / 279.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.0116, allocations: 3.984 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.041e-05/0.01162, allocations: 11.94 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.01162, allocations: 0 / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.01163, allocations: 0 / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.01163, allocations: 4 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01163, allocations: 4 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.0118, allocations: 175.9 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.01182, allocations: 23.78 kB / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.01184, allocations: 15.98 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.276e-05/0.01186, allocations: 4 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.0119, allocations: 7.984 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.01191, allocations: 4 kB / 279.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.922e-05/0.01198, allocations: 160.1 kB / 279.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01198, allocations: 0 / 279.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000229/0.01221, allocations: 47.94 kB / 279.9 MB, free: 10.24 MB / 266.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.0003593/0.01257, allocations: 221.9 kB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.01276, allocations: 112.2 kB / 280.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01276, allocations: 4 kB / 280.3 MB, free: 9.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/0.01281, allocations: 31.67 kB / 280.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.01299, allocations: 15.92 kB / 280.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.01336, allocations: 249.8 kB / 280.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.01341, allocations: 67.34 kB / 280.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.442e-05/0.01345, allocations: 12.97 kB / 280.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.01349, allocations: 20.61 kB / 280.6 MB, free: 9.484 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01349, allocations: 4 kB / 280.7 MB, free: 9.48 MB / 266.7 MB Notification: Performance of Templates: time 0.004424/0.01792, allocations: 2.405 MB / 283.1 MB, free: 7.094 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 240] 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","",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.819554728921503]