Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001558/0.001558, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001284/0.001284, allocations: 166.5 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.108/1.108, allocations: 158.6 MB / 187.5 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.576e-06/3.576e-06, allocations: 4 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.306e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002427/0.00246, allocations: 1.497 MB / 253 MB, free: 5.746 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009092/0.003369, allocations: 0.5576 MB / 253.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.003436, allocations: 0 / 253.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.00354, allocations: 15.81 kB / 253.5 MB, free: 5.168 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.612e-05/0.003606, allocations: 11.81 kB / 253.5 MB, free: 5.156 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.004123, allocations: 167.4 kB / 253.7 MB, free: 4.992 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.00425, allocations: 115.6 kB / 253.8 MB, free: 4.879 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.004288, allocations: 13.3 kB / 253.8 MB, free: 4.867 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.004373, allocations: 71.75 kB / 253.9 MB, free: 4.797 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.00442, allocations: 39.88 kB / 253.9 MB, free: 4.758 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.00444, allocations: 16 kB / 254 MB, free: 4.742 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.004675, allocations: 159.7 kB / 254.1 MB, free: 4.586 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.004724, allocations: 39.83 kB / 254.2 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.004762, allocations: 27.91 kB / 254.2 MB, free: 4.52 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.005024, allocations: 207.3 kB / 254.4 MB, free: 4.316 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005027, allocations: 0 / 254.4 MB, free: 4.316 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.005028, allocations: 0 / 254.4 MB, free: 4.316 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.005032, allocations: 0 / 254.4 MB, free: 4.316 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.0005114/0.005544, allocations: 487.6 kB / 254.9 MB, free: 3.801 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.005583, allocations: 11.98 kB / 254.9 MB, free: 3.789 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.005804, allocations: 48.81 kB / 254.9 MB, free: 3.742 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.005922, allocations: 157.1 kB / 255.1 MB, free: 3.559 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.005939, allocations: 4.375 kB / 255.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.005953, allocations: 12.38 kB / 255.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.006089, allocations: 85.5 kB / 255.2 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.006096, allocations: 192 / 255.2 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.006106, allocations: 384 / 255.2 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.006112, allocations: 384 / 255.2 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.751e-05/0.00615, allocations: 23.92 kB / 255.2 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.00654, allocations: 332 kB / 255.5 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.006647, allocations: 74.23 kB / 255.6 MB, free: 2.969 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.006677, allocations: 31.3 kB / 255.6 MB, free: 2.93 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.006686, allocations: 4 kB / 255.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.006819, allocations: 119.9 kB / 255.7 MB, free: 2.789 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.006821, allocations: 0 / 255.7 MB, free: 2.789 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002316/0.007052, allocations: 153.4 kB / 255.9 MB, free: 2.633 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.00711, allocations: 89.05 kB / 256 MB, free: 2.527 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.007234, allocations: 229.8 kB / 256.2 MB, free: 2.285 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.007264, allocations: 45.69 kB / 256.3 MB, free: 2.234 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.007346, allocations: 159.3 kB / 256.4 MB, free: 2.074 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.007382, allocations: 43.67 kB / 256.5 MB, free: 2.031 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.007448, allocations: 59.56 kB / 256.5 MB, free: 1.961 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.007595, allocations: 0.5079 MB / 257 MB, free: 1.438 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.007641, allocations: 24.5 kB / 257 MB, free: 1.414 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.007703, allocations: 75.97 kB / 257.1 MB, free: 1.328 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.007814, allocations: 103.5 kB / 257.2 MB, free: 1.215 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.007816, allocations: 4 kB / 257.2 MB, free: 1.211 MB / 234.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002031/0.008019, allocations: 169.5 kB / 257.4 MB, free: 1.039 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.008036, allocations: 7.938 kB / 257.4 MB, free: 1.031 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.008045, allocations: 0 / 257.4 MB, free: 1.031 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.008058, allocations: 4 kB / 257.4 MB, free: 1.027 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.008178, allocations: 47.91 kB / 257.4 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.008182, allocations: 0 / 257.4 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.036e-05/0.008222, allocations: 23.78 kB / 257.5 MB, free: 0.957 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.008238, allocations: 8 kB / 257.5 MB, free: 0.9492 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 9.84e-05/0.008336, allocations: 180.6 kB / 257.7 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.008354, allocations: 19.91 kB / 257.7 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.008382, allocations: 21.34 kB / 257.7 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.008384, allocations: 3.984 kB / 257.7 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.008386, allocations: 0 / 257.7 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.00839, allocations: 4 kB / 257.7 MB, free: 0.707 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.931e-05/0.00849, allocations: 125.2 kB / 257.8 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.008492, allocations: 0 / 257.8 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.008513, allocations: 8 kB / 257.8 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.008514, allocations: 0 / 257.8 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.008522, allocations: 4 kB / 257.8 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.008523, allocations: 0 / 257.8 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.008526, allocations: 3.938 kB / 257.8 MB, free: 0.543 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.008708, allocations: 172.4 kB / 258 MB, free: 356 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.008725, allocations: 19.84 kB / 258 MB, free: 336 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.008747, allocations: 15.98 kB / 258 MB, free: 320 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.145e-05/0.008768, allocations: 0 / 258 MB, free: 320 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.008806, allocations: 15.92 kB / 258.1 MB, free: 304 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.008814, allocations: 4 kB / 258.1 MB, free: 300 kB / 234.7 MB Notification: Performance of sorting global known variables: time 6.268e-05/0.008877, allocations: 164.1 kB / 258.2 MB, free: 136 kB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008877, allocations: 0 / 258.2 MB, free: 136 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.009088, allocations: 55.88 kB / 258.3 MB, free: 80 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.0004213/0.00951, allocations: 245.3 kB / 258.5 MB, free: 15.86 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.009659, allocations: 95.77 kB / 258.6 MB, free: 15.77 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.009662, allocations: 0 / 258.6 MB, free: 15.77 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.009701, allocations: 35.59 kB / 258.6 MB, free: 15.73 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.009859, allocations: 19.98 kB / 258.7 MB, free: 15.71 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.01019, allocations: 249.1 kB / 258.9 MB, free: 15.43 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.941e-05/0.01023, allocations: 71.33 kB / 259 MB, free: 15.34 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.279e-05/0.01027, allocations: 20.95 kB / 259 MB, free: 15.32 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.01033, allocations: 78.2 kB / 259.1 MB, free: 15.24 MB / 250.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01033, allocations: 0 / 259.1 MB, free: 15.24 MB / 250.7 MB Notification: Performance of Templates: time 0.004395/0.01473, allocations: 2.656 MB / 261.7 MB, free: 12.59 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/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.0259894588962197]