Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008156/0.0008156, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001242/0.002058, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009445/0.0009445, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.00248, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8806/0.8806, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1644/1.045, allocations: 52.49 MB / 238.5 MB, free: 7.652 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/1.99e-05, allocations: 3.531 kB / 239.8 MB, free: 6.375 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001898/0.001917, allocations: 1.549 MB / 241.3 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007533/0.002671, allocations: 0.5819 MB / 241.9 MB, free: 4.25 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.002714, allocations: 0 / 241.9 MB, free: 4.25 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.543e-05/0.002769, allocations: 15.8 kB / 241.9 MB, free: 4.234 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.002824, allocations: 15.86 kB / 241.9 MB, free: 4.219 MB / 234.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.000412/0.003236, allocations: 151.3 kB / 242.1 MB, free: 4.07 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.003365, allocations: 113.1 kB / 242.2 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.003408, allocations: 13.95 kB / 242.2 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.003515, allocations: 75.88 kB / 242.3 MB, free: 3.871 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.003896, allocations: 74.62 kB / 242.3 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.003928, allocations: 8 kB / 242.3 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002614/0.004189, allocations: 152.8 kB / 242.5 MB, free: 3.656 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.004234, allocations: 23.92 kB / 242.5 MB, free: 3.633 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.004268, allocations: 23.94 kB / 242.5 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.004546, allocations: 166.5 kB / 242.7 MB, free: 3.449 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.004558, allocations: 0 / 242.7 MB, free: 3.449 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004559, allocations: 0 / 242.7 MB, free: 3.449 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.004568, allocations: 0 / 242.7 MB, free: 3.449 MB / 234.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.0004526/0.00502, allocations: 391.5 kB / 243.1 MB, free: 3.043 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.005051, allocations: 12.03 kB / 243.1 MB, free: 3.031 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.00529, allocations: 122 kB / 243.2 MB, free: 2.895 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.005396, allocations: 159.5 kB / 243.4 MB, free: 2.711 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.005412, allocations: 4.375 kB / 243.4 MB, free: 2.707 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.005427, allocations: 8.375 kB / 243.4 MB, free: 2.699 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.00555, allocations: 91.11 kB / 243.5 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.005556, allocations: 0 / 243.5 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.005564, allocations: 0 / 243.5 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.005587, allocations: 14.94 kB / 243.5 MB, free: 2.586 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.141e-05/0.005619, allocations: 17.64 kB / 243.5 MB, free: 2.566 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.005923, allocations: 206.8 kB / 243.7 MB, free: 2.344 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.591e-05/0.006019, allocations: 105.1 kB / 243.8 MB, free: 2.223 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.006042, allocations: 29.64 kB / 243.8 MB, free: 2.188 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.792e-06/0.006048, allocations: 8.953 kB / 243.8 MB, free: 2.18 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.006231, allocations: 103.8 kB / 243.9 MB, free: 2.059 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.006232, allocations: 0.9062 kB / 243.9 MB, free: 2.059 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001385/0.006371, allocations: 103.3 kB / 244 MB, free: 1.949 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.006416, allocations: 90.83 kB / 244.1 MB, free: 1.844 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.006508, allocations: 166.6 kB / 244.3 MB, free: 1.668 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.006533, allocations: 45.69 kB / 244.3 MB, free: 1.617 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.006573, allocations: 100.6 kB / 244.4 MB, free: 1.516 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.006601, allocations: 35.72 kB / 244.5 MB, free: 1.48 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.006656, allocations: 66.48 kB / 244.5 MB, free: 1.406 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.006782, allocations: 335.5 kB / 244.9 MB, free: 1.07 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.006825, allocations: 23.34 kB / 244.9 MB, free: 1.043 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.631e-05/0.006871, allocations: 59.41 kB / 244.9 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.355e-05/0.006965, allocations: 117 kB / 245.1 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006967, allocations: 0 / 245.1 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001367/0.007104, allocations: 141.8 kB / 245.2 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.007116, allocations: 4 kB / 245.2 MB, free: 0.707 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.007123, allocations: 0 / 245.2 MB, free: 0.707 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.007136, allocations: 4 kB / 245.2 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.007253, allocations: 48.53 kB / 245.3 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.007258, allocations: 4.594 kB / 245.3 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.007293, allocations: 15.89 kB / 245.3 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.007303, allocations: 8.531 kB / 245.3 MB, free: 0.6289 MB / 234.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,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,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 8.239e-05/0.007386, allocations: 138.3 kB / 245.4 MB, free: 496 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.007401, allocations: 15.92 kB / 245.4 MB, free: 480 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.007424, allocations: 18.62 kB / 245.5 MB, free: 464 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.007426, allocations: 0 / 245.5 MB, free: 464 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.007428, allocations: 0 / 245.5 MB, free: 464 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007431, allocations: 4.938 kB / 245.5 MB, free: 460 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.256e-05/0.007523, allocations: 101.8 kB / 245.6 MB, free: 340 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007525, allocations: 0 / 245.6 MB, free: 340 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.772e-05/0.007542, allocations: 5 kB / 245.6 MB, free: 336 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.00756, allocations: 23.77 kB / 245.6 MB, free: 312 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.007563, allocations: 4 kB / 245.6 MB, free: 308 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.007568, allocations: 0.5 kB / 245.6 MB, free: 308 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.007569, allocations: 0.8125 kB / 245.6 MB, free: 308 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.00757, allocations: 0 / 245.6 MB, free: 308 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.007673, allocations: 124 kB / 245.7 MB, free: 160 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.007691, allocations: 11.94 kB / 245.7 MB, free: 148 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.007713, allocations: 96 / 245.7 MB, free: 148 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.007745, allocations: 19.95 kB / 245.7 MB, free: 128 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.00775, allocations: 4.062 kB / 245.7 MB, free: 124 kB / 234.7 MB Notification: Performance of sorting global known variables: time 3.366e-05/0.007784, allocations: 45.81 kB / 245.8 MB, free: 76 kB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007784, allocations: 0 / 245.8 MB, free: 76 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001719/0.007956, allocations: 47.94 kB / 245.8 MB, free: 28 kB / 234.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.0004249/0.00838, allocations: 238.9 kB / 246.1 MB, free: 15.85 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.008528, allocations: 89.55 kB / 246.2 MB, free: 15.76 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.008537, allocations: 12 kB / 246.2 MB, free: 15.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.008577, allocations: 36.77 kB / 246.2 MB, free: 15.71 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.008703, allocations: 27.92 kB / 246.2 MB, free: 15.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.009136, allocations: 257.9 kB / 246.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.198e-05/0.009168, allocations: 71.23 kB / 246.6 MB, free: 15.31 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.009324, allocations: 16.97 kB / 246.6 MB, free: 15.29 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.009385, allocations: 63.36 kB / 246.6 MB, free: 15.23 MB / 250.7 MB Notification: Performance of SimCode: time 6.82e-07/0.009386, allocations: 0 / 246.6 MB, free: 15.23 MB / 250.7 MB Notification: Performance of Templates: time 0.003972/0.01336, allocations: 2.387 MB / 249 MB, free: 12.87 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.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.4082961725071073]