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.0008745/0.0008745, allocations: 84.06 kB / 21.19 MB, free: 3.379 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.0008695/0.0008695, allocations: 145.5 kB / 24.55 MB, free: 28 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.059/1.059, allocations: 173.3 MB / 201.1 MB, free: 9.359 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.783e-06/1.783e-06, allocations: 0 / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.197e-05, allocations: 2.312 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002128/0.00215, allocations: 1.512 MB / 269.5 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.003024, allocations: 0.5962 MB / 270.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.003071, allocations: 0 / 270.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.772e-05/0.003169, allocations: 7.875 kB / 270.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.072e-05/0.00324, allocations: 23.86 kB / 270.1 MB, free: 4.301 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.0005506/0.00379, allocations: 155.3 kB / 270.3 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.003918, allocations: 115.7 kB / 270.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.003961, allocations: 5.312 kB / 270.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.475e-05/0.004035, allocations: 71.73 kB / 270.5 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003906/0.004426, allocations: 74.53 kB / 270.5 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.004458, allocations: 8 kB / 270.5 MB, free: 3.891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.00468, allocations: 139.7 kB / 270.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.004726, allocations: 39.83 kB / 270.7 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.004771, allocations: 35.92 kB / 270.8 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.005035, allocations: 187.3 kB / 270.9 MB, free: 3.496 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.005037, allocations: 0 / 270.9 MB, free: 3.496 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005037, allocations: 0 / 270.9 MB, free: 3.496 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005042, allocations: 4 kB / 270.9 MB, free: 3.492 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.0005614/0.005603, allocations: 471.7 kB / 271.4 MB, free: 2.996 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.005645, allocations: 8.922 kB / 271.4 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002398/0.005885, allocations: 52.75 kB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.00602, allocations: 157.1 kB / 271.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.006039, allocations: 8.375 kB / 271.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.006056, allocations: 8.375 kB / 271.6 MB, free: 2.738 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.006209, allocations: 92.89 kB / 271.7 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.006217, allocations: 0 / 271.7 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.006228, allocations: 4 kB / 271.7 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.006235, allocations: 0 / 271.7 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.006289, allocations: 15.98 kB / 271.7 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.006731, allocations: 359.2 kB / 272.1 MB, free: 2.223 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.006845, allocations: 78.17 kB / 272.2 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.006881, allocations: 35.42 kB / 272.2 MB, free: 2.078 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-06/0.006888, allocations: 0 / 272.2 MB, free: 2.078 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.007016, allocations: 120.3 kB / 272.3 MB, free: 1.938 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.007017, allocations: 0 / 272.3 MB, free: 1.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002583/0.007275, allocations: 153.6 kB / 272.5 MB, free: 1.781 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.007321, allocations: 93.09 kB / 272.6 MB, free: 1.672 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.007446, allocations: 221.9 kB / 272.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.007474, allocations: 49.77 kB / 272.8 MB, free: 1.383 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.007536, allocations: 159.2 kB / 273 MB, free: 1.223 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.007571, allocations: 39.73 kB / 273 MB, free: 1.184 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.007636, allocations: 67.53 kB / 273.1 MB, free: 1.105 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.007766, allocations: 0.504 MB / 273.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.393e-05/0.00783, allocations: 40.48 kB / 273.6 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.007904, allocations: 76 kB / 273.7 MB, free: 472 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.00803, allocations: 115.5 kB / 273.8 MB, free: 340 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008032, allocations: 3.938 kB / 273.8 MB, free: 336 kB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002206/0.008253, allocations: 189.5 kB / 274 MB, free: 140 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.008265, allocations: 4 kB / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.008272, allocations: 0 / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.008287, allocations: 4 kB / 274 MB, free: 132 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.008418, allocations: 43.97 kB / 274.1 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.008423, allocations: 0 / 274.1 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.00846, allocations: 23.77 kB / 274.1 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.008474, allocations: 8 kB / 274.1 MB, free: 56 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.0001131/0.008588, allocations: 192.5 kB / 274.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.008605, allocations: 15.91 kB / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.008635, allocations: 13.45 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.008639, allocations: 4 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.008642, allocations: 0 / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.008646, allocations: 0 / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.008756, allocations: 156.4 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008757, allocations: 3.938 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.896e-05/0.008776, allocations: 7.984 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.008779, allocations: 0 / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.008787, allocations: 4 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.008789, allocations: 4 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.00879, allocations: 0 / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.008961, allocations: 183.9 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.008977, allocations: 15.84 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.008998, allocations: 8 kB / 274.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.429e-05/0.009023, allocations: 7.984 kB / 274.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.009072, allocations: 11.92 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.009082, allocations: 4 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.423e-05/0.009166, allocations: 168.1 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009166, allocations: 0 / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.009371, allocations: 43.94 kB / 274.9 MB, free: 15.15 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.0003701/0.009741, allocations: 223.8 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.009949, allocations: 111.5 kB / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00995, allocations: 0 / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.454e-05/0.01, allocations: 43.59 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.01018, allocations: 23.86 kB / 275.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.01051, allocations: 237.9 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.149e-05/0.01055, allocations: 67.34 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.233e-05/0.01059, allocations: 12.97 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.01063, allocations: 20.62 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01063, allocations: 0 / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of Templates: time 0.004342/0.01497, allocations: 2.4 MB / 278 MB, free: 12.01 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.9194988841190934]