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.001122/0.001122, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001163/0.001163, allocations: 172.6 kB / 25 MB, free: 8.867 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 1.072/1.072, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.824e-06/1.824e-06, allocations: 0 / 273.1 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.481e-05, allocations: 6.312 kB / 273.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002301/0.002336, allocations: 1.522 MB / 274.6 MB, free: 280 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009767/0.003313, allocations: 0.5845 MB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.003373, allocations: 0 / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.003489, allocations: 7.875 kB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.389e-05/0.003563, allocations: 19.8 kB / 275.2 MB, free: 15.66 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.0007445/0.004307, allocations: 159.3 kB / 275.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.004479, allocations: 119.6 kB / 275.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.313e-05/0.004532, allocations: 1.312 kB / 275.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.67e-05/0.004618, allocations: 67.86 kB / 275.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/0.005016, allocations: 77.5 kB / 275.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.005043, allocations: 8 kB / 275.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.005275, allocations: 151.7 kB / 275.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.005323, allocations: 31.84 kB / 275.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.005364, allocations: 27.92 kB / 275.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.005643, allocations: 187.4 kB / 276 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005646, allocations: 4 kB / 276 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005647, allocations: 0 / 276 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.005652, allocations: 0 / 276 MB, free: 14.86 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.0005713/0.006223, allocations: 487.7 kB / 276.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.006281, allocations: 8.031 kB / 276.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.006571, allocations: 48.75 kB / 276.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.006726, allocations: 153.1 kB / 276.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.006751, allocations: 8.359 kB / 276.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.006769, allocations: 8.375 kB / 276.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.006965, allocations: 85.59 kB / 276.8 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.006975, allocations: 4.188 kB / 276.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.006991, allocations: 4.125 kB / 276.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.007002, allocations: 0 / 276.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.035e-05/0.007062, allocations: 19.92 kB / 276.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.007582, allocations: 351.3 kB / 277.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.007716, allocations: 90.16 kB / 277.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.007754, allocations: 31.44 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.007763, allocations: 4 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.007919, allocations: 128.2 kB / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.00792, allocations: 0 / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002714/0.008191, allocations: 149.5 kB / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.008251, allocations: 89.09 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.008414, allocations: 233.8 kB / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.008447, allocations: 45.69 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.008529, allocations: 159.3 kB / 278.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.008568, allocations: 39.69 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.739e-05/0.008646, allocations: 59.59 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.008806, allocations: 0.5079 MB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.008872, allocations: 32.5 kB / 278.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.651e-05/0.008959, allocations: 80.84 kB / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.009105, allocations: 119.5 kB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.009108, allocations: 0 / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002302/0.009338, allocations: 189.4 kB / 279.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.009352, allocations: 4 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.009359, allocations: 0 / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.009376, allocations: 8.062 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.009504, allocations: 43.92 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.009511, allocations: 3.938 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.009553, allocations: 23.84 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.009566, allocations: 7.984 kB / 279.2 MB, free: 11.4 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.0001124/0.009678, allocations: 180.5 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.009699, allocations: 19.84 kB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.009731, allocations: 17.45 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.009734, allocations: 4 kB / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.009741, allocations: 4 kB / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.009746, allocations: 0 / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.009909, allocations: 148.5 kB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009911, allocations: 0 / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.009945, allocations: 11.94 kB / 279.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.009947, allocations: 0 / 279.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.009957, allocations: 0 / 279.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.009959, allocations: 4 kB / 279.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.009961, allocations: 3.984 kB / 279.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.01015, allocations: 176 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.01017, allocations: 27.78 kB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.01019, allocations: 11.98 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.473e-05/0.01021, allocations: 4 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.01026, allocations: 7.984 kB / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.01026, allocations: 7.984 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.208e-05/0.01034, allocations: 160.2 kB / 280 MB, free: 10.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01034, allocations: 0 / 280 MB, free: 10.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.01054, allocations: 51.92 kB / 280 MB, free: 10.5 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.0003994/0.01094, allocations: 225.2 kB / 280.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.01115, allocations: 100.2 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01115, allocations: 0 / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.0112, allocations: 47.77 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.01138, allocations: 19.45 kB / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.01173, allocations: 245.8 kB / 280.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.44e-05/0.01178, allocations: 67.34 kB / 280.7 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.336e-05/0.01182, allocations: 16.95 kB / 280.7 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.01185, allocations: 16.5 kB / 280.7 MB, free: 9.75 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01185, allocations: 0 / 280.7 MB, free: 9.75 MB / 266.7 MB Notification: Performance of Templates: time 0.003893/0.01574, allocations: 2.226 MB / 283 MB, free: 7.539 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: 3.067066789139062]