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.002561/0.002561, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002984/0.002984, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 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.694/1.694, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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 2.365e-06/2.365e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.54e-05/3.776e-05, allocations: 2.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.004493/0.004531, allocations: 1.47 MB / 268.8 MB, free: 5.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.006434, allocations: 0.5884 MB / 269.4 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.006506, allocations: 4 kB / 269.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.006644, allocations: 7.875 kB / 269.4 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.006745, allocations: 23.75 kB / 269.4 MB, free: 4.633 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.0009038/0.007649, allocations: 155.4 kB / 269.6 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.007925, allocations: 115.6 kB / 269.7 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.007986, allocations: 9.25 kB / 269.7 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.008143, allocations: 67.8 kB / 269.8 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009959/0.009139, allocations: 80.06 kB / 269.8 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.009185, allocations: 8 kB / 269.8 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004967/0.009682, allocations: 147.7 kB / 270 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.009784, allocations: 39.83 kB / 270 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.934e-05/0.009863, allocations: 27.92 kB / 270 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005836/0.01045, allocations: 215.3 kB / 270.3 MB, free: 3.797 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01045, allocations: 0 / 270.3 MB, free: 3.797 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01045, allocations: 0 / 270.3 MB, free: 3.797 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.01046, allocations: 0 / 270.3 MB, free: 3.797 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.001052/0.01151, allocations: 479.4 kB / 270.7 MB, free: 3.293 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.01156, allocations: 12.92 kB / 270.7 MB, free: 3.281 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005367/0.0121, allocations: 56.69 kB / 270.8 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.01238, allocations: 152.3 kB / 270.9 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.01241, allocations: 4.375 kB / 270.9 MB, free: 3.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.01244, allocations: 8.375 kB / 271 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.01274, allocations: 96.95 kB / 271.1 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.01275, allocations: 0 / 271.1 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.01277, allocations: 4 kB / 271.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.01278, allocations: 0 / 271.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.01299, allocations: 35.92 kB / 271.1 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.014, allocations: 371.3 kB / 271.5 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.01445, allocations: 114.1 kB / 271.6 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.0146, allocations: 43.42 kB / 271.6 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.01462, allocations: 0 / 271.6 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/0.01499, allocations: 143.2 kB / 271.7 MB, free: 2.141 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.01499, allocations: 0 / 271.7 MB, free: 2.141 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007393/0.01573, allocations: 181.6 kB / 271.9 MB, free: 1.957 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.01585, allocations: 89.05 kB / 272 MB, free: 1.852 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.01622, allocations: 249.8 kB / 272.3 MB, free: 1.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/0.01629, allocations: 49.75 kB / 272.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.01645, allocations: 159.3 kB / 272.5 MB, free: 1.375 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/0.01654, allocations: 47.73 kB / 272.5 MB, free: 1.328 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.0167, allocations: 63.59 kB / 272.6 MB, free: 1.254 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004162/0.01712, allocations: 0.5196 MB / 273.1 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.01733, allocations: 48.48 kB / 273.1 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.01762, allocations: 104.9 kB / 273.2 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.01806, allocations: 147.4 kB / 273.4 MB, free: 408 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.01807, allocations: 4 kB / 273.4 MB, free: 404 kB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006633/0.01873, allocations: 217.4 kB / 273.6 MB, free: 180 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.01875, allocations: 4 kB / 273.6 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.01876, allocations: 4 kB / 273.6 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.01878, allocations: 0 / 273.6 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.01909, allocations: 47.97 kB / 273.7 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.0191, allocations: 4 kB / 273.7 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.01921, allocations: 15.89 kB / 273.7 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.01923, allocations: 4 kB / 273.7 MB, free: 100 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 0.0002728/0.01951, allocations: 196.4 kB / 273.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.01956, allocations: 15.91 kB / 273.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.01961, allocations: 17.47 kB / 273.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.01961, allocations: 3.984 kB / 273.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.01962, allocations: 8 kB / 273.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01963, allocations: 3.938 kB / 273.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.01992, allocations: 160.4 kB / 274.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01993, allocations: 4 kB / 274.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.01999, allocations: 7.984 kB / 274.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01999, allocations: 0 / 274.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.02001, allocations: 4 kB / 274.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.02001, allocations: 0 / 274.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02001, allocations: 0 / 274.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.02054, allocations: 207.9 kB / 274.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.02058, allocations: 23.83 kB / 274.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.02063, allocations: 8 kB / 274.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.02071, allocations: 7.984 kB / 274.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.02079, allocations: 7.984 kB / 274.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.0208, allocations: 4 kB / 274.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002314/0.02103, allocations: 176.2 kB / 274.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02103, allocations: 0 / 274.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004678/0.0215, allocations: 47.92 kB / 274.6 MB, free: 15.14 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.0009115/0.02241, allocations: 205 kB / 274.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005616/0.02297, allocations: 151.7 kB / 274.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02298, allocations: 128 / 274.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.02316, allocations: 55.75 kB / 275 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.02351, allocations: 23.92 kB / 275 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.02422, allocations: 245.9 kB / 275.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.02437, allocations: 101.6 kB / 275.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.527e-05/0.02445, allocations: 16.97 kB / 275.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.02451, allocations: 20.5 kB / 275.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02451, allocations: 0 / 275.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of Templates: time 0.008797/0.03331, allocations: 2.23 MB / 277.6 MB, free: 12.09 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.852332161972299]