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.001485/0.001485, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.001018/0.001018, allocations: 149.2 kB / 24.98 MB, free: 8.887 MB / 18.57 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 1.027/1.027, allocations: 173.4 MB / 201.5 MB, free: 9.309 MB / 186.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.382e-06/1.382e-06, allocations: 0 / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.737e-05, allocations: 9.688 kB / 268.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001749/0.001766, allocations: 1.5 MB / 269.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008137/0.00258, allocations: 0.5884 MB / 270.2 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.002625, allocations: 0 / 270.2 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.622e-05/0.002711, allocations: 11.88 kB / 270.2 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.252e-05/0.002774, allocations: 19.86 kB / 270.2 MB, free: 4.566 MB / 250.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.0005163/0.00329, allocations: 159.3 kB / 270.4 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.003417, allocations: 111.7 kB / 270.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.003458, allocations: 5.312 kB / 270.5 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.003538, allocations: 71.8 kB / 270.5 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.003923, allocations: 76.59 kB / 270.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.003951, allocations: 8 kB / 270.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.004161, allocations: 143.7 kB / 270.8 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.004207, allocations: 39.83 kB / 270.8 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.004248, allocations: 31.91 kB / 270.8 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.004497, allocations: 187.4 kB / 271 MB, free: 3.762 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004498, allocations: 0 / 271 MB, free: 3.762 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0045, allocations: 3.938 kB / 271 MB, free: 3.758 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.004504, allocations: 0 / 271 MB, free: 3.758 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004676/0.004972, allocations: 479.7 kB / 271.5 MB, free: 3.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.005004, allocations: 8.922 kB / 271.5 MB, free: 3.246 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.005234, allocations: 44.75 kB / 271.5 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.00536, allocations: 161.1 kB / 271.7 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.005375, allocations: 4.375 kB / 271.7 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.005391, allocations: 12.38 kB / 271.7 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.005531, allocations: 96.86 kB / 271.8 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.005538, allocations: 0 / 271.8 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.00555, allocations: 4 kB / 271.8 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.005556, allocations: 0 / 271.8 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.865e-05/0.005605, allocations: 19.98 kB / 271.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.006032, allocations: 347.2 kB / 272.2 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.006153, allocations: 90.09 kB / 272.3 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.00619, allocations: 23.44 kB / 272.3 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.006199, allocations: 8 kB / 272.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.006326, allocations: 112.3 kB / 272.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.006327, allocations: 0 / 272.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002445/0.006571, allocations: 157.6 kB / 272.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.006619, allocations: 93.09 kB / 272.6 MB, free: 1.934 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.00675, allocations: 225.9 kB / 272.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.006774, allocations: 37.7 kB / 272.9 MB, free: 1.652 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.006835, allocations: 159.3 kB / 273.1 MB, free: 1.492 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.006873, allocations: 43.72 kB / 273.1 MB, free: 1.449 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.006937, allocations: 71.53 kB / 273.2 MB, free: 1.367 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.007057, allocations: 0.5 MB / 273.7 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.007124, allocations: 44.42 kB / 273.7 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-05/0.007201, allocations: 80 kB / 273.8 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.007328, allocations: 115.5 kB / 273.9 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.00733, allocations: 0 / 273.9 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002028/0.007533, allocations: 181.5 kB / 274.1 MB, free: 416 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.007545, allocations: 11.94 kB / 274.1 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.007552, allocations: 0 / 274.1 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.007564, allocations: 0 / 274.1 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.00768, allocations: 43.97 kB / 274.1 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.007685, allocations: 0 / 274.1 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.007721, allocations: 15.89 kB / 274.2 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.007732, allocations: 8 kB / 274.2 MB, free: 336 kB / 250.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 9.768e-05/0.00783, allocations: 196.5 kB / 274.4 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.007847, allocations: 19.89 kB / 274.4 MB, free: 108 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.007872, allocations: 21.45 kB / 274.4 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007874, allocations: 0 / 274.4 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.007877, allocations: 0 / 274.4 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.007882, allocations: 4 kB / 274.4 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.008003, allocations: 152.4 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.008004, allocations: 0 / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.008027, allocations: 15.92 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.008029, allocations: 0 / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.008038, allocations: 8 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.008039, allocations: 0 / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.00804, allocations: 4 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.008206, allocations: 175.4 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.008224, allocations: 23.84 kB / 274.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.008246, allocations: 7.984 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.346e-05/0.008269, allocations: 4 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.008309, allocations: 11.98 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.008315, allocations: 4 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.999e-05/0.008385, allocations: 168.1 kB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008385, allocations: 0 / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001901/0.008575, allocations: 47.94 kB / 275 MB, free: 15.41 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.0003361/0.008911, allocations: 226.3 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.009096, allocations: 99.58 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.009098, allocations: 0 / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.009145, allocations: 43.59 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.009301, allocations: 19.92 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.009626, allocations: 241.9 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.61e-05/0.009662, allocations: 67.34 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.836e-05/0.0097, allocations: 13.09 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.009735, allocations: 24.5 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009736, allocations: 0 / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of Templates: time 0.003929/0.01366, allocations: 2.222 MB / 277.9 MB, free: 12.45 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.913418131880462]