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.0007287/0.0007287, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009734/0.001702, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007087/0.0007087, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001784, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9964/0.9964, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1848/1.181, allocations: 49.48 MB / 220.5 MB, free: 1.449 MB / 218.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 1.143e-06/1.143e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.167e-05, allocations: 6.312 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002046/0.002068, allocations: 1.547 MB / 223.4 MB, free: 14.6 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007792/0.002847, allocations: 0.5806 MB / 224 MB, free: 14.02 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.002896, allocations: 0 / 224 MB, free: 14.02 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.212e-05/0.002948, allocations: 7.875 kB / 224 MB, free: 14.01 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.235e-05/0.00301, allocations: 19.78 kB / 224 MB, free: 13.99 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.003558, allocations: 147.4 kB / 224.1 MB, free: 13.84 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.003698, allocations: 123.6 kB / 224.3 MB, free: 13.72 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.003734, allocations: 5.969 kB / 224.3 MB, free: 13.72 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.003842, allocations: 79.81 kB / 224.3 MB, free: 13.64 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.003899, allocations: 55.78 kB / 224.4 MB, free: 13.59 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.003918, allocations: 8 kB / 224.4 MB, free: 13.58 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.004197, allocations: 155.7 kB / 224.6 MB, free: 13.43 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.004235, allocations: 19.94 kB / 224.6 MB, free: 13.41 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.00427, allocations: 27.81 kB / 224.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.004511, allocations: 191.3 kB / 224.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337e-05/0.004524, allocations: 0 / 224.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.004525, allocations: 0 / 224.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.004537, allocations: 4 kB / 224.8 MB, free: 13.19 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.0004587/0.004996, allocations: 379.7 kB / 225.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.005028, allocations: 8.031 kB / 225.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.00525, allocations: 129.9 kB / 225.3 MB, free: 12.64 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.259e-05/0.005342, allocations: 150.3 kB / 225.4 MB, free: 12.46 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.005359, allocations: 384 / 225.4 MB, free: 12.46 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.005373, allocations: 12.38 kB / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.005479, allocations: 86.55 kB / 225.5 MB, free: 12.36 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.005486, allocations: 4.188 kB / 225.5 MB, free: 12.35 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.005496, allocations: 12.36 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.0055, allocations: 384 / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.005531, allocations: 17.59 kB / 225.6 MB, free: 12.32 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.005819, allocations: 218.7 kB / 225.8 MB, free: 12.09 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.238e-05/0.005911, allocations: 105.1 kB / 225.9 MB, free: 11.96 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.796e-05/0.005939, allocations: 21.72 kB / 225.9 MB, free: 11.94 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.005946, allocations: 0 / 225.9 MB, free: 11.94 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.006058, allocations: 107.8 kB / 226 MB, free: 11.81 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 7.01e-07/0.006059, allocations: 0 / 226 MB, free: 11.81 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.000143/0.006202, allocations: 115.2 kB / 226.1 MB, free: 11.69 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.006247, allocations: 89.09 kB / 226.2 MB, free: 11.59 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.006334, allocations: 163.3 kB / 226.4 MB, free: 11.41 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.006362, allocations: 49.69 kB / 226.4 MB, free: 11.36 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.006402, allocations: 96.59 kB / 226.5 MB, free: 11.26 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.006437, allocations: 43.67 kB / 226.6 MB, free: 11.22 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.00649, allocations: 57.89 kB / 226.6 MB, free: 11.15 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.006571, allocations: 330.8 kB / 226.9 MB, free: 10.82 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.006612, allocations: 31.33 kB / 227 MB, free: 10.79 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.006657, allocations: 63.5 kB / 227 MB, free: 10.72 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.845e-05/0.006745, allocations: 108.6 kB / 227.1 MB, free: 10.6 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.006748, allocations: 8 kB / 227.1 MB, free: 10.59 MB / 234.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001472/0.006895, allocations: 140.3 kB / 227.3 MB, free: 10.45 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.006906, allocations: 4 kB / 227.3 MB, free: 10.45 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.006913, allocations: 3.938 kB / 227.3 MB, free: 10.44 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.006921, allocations: 7.938 kB / 227.3 MB, free: 10.43 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.007033, allocations: 48.03 kB / 227.3 MB, free: 10.39 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.007037, allocations: 4 kB / 227.4 MB, free: 10.38 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.007072, allocations: 11.95 kB / 227.4 MB, free: 10.37 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.007082, allocations: 4 kB / 227.4 MB, free: 10.37 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 8.006e-05/0.007162, allocations: 144.6 kB / 227.5 MB, free: 10.21 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.007176, allocations: 15.97 kB / 227.5 MB, free: 10.2 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.0072, allocations: 17.41 kB / 227.5 MB, free: 10.18 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.007201, allocations: 0 / 227.5 MB, free: 10.18 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.007203, allocations: 0 / 227.5 MB, free: 10.18 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007206, allocations: 4 kB / 227.5 MB, free: 10.18 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.291e-05/0.007299, allocations: 101.8 kB / 227.6 MB, free: 10.06 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.0073, allocations: 0 / 227.6 MB, free: 10.06 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.007318, allocations: 7.938 kB / 227.7 MB, free: 10.05 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.007335, allocations: 19.83 kB / 227.7 MB, free: 10.04 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.007337, allocations: 4 kB / 227.7 MB, free: 10.03 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.007343, allocations: 0 / 227.7 MB, free: 10.03 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.007346, allocations: 3.938 kB / 227.7 MB, free: 10.03 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007347, allocations: 0 / 227.7 MB, free: 10.03 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.471e-05/0.007442, allocations: 116.4 kB / 227.8 MB, free: 9.891 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.00746, allocations: 16 kB / 227.8 MB, free: 9.875 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.066e-05/0.007481, allocations: 0 / 227.8 MB, free: 9.875 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.007511, allocations: 19.84 kB / 227.8 MB, free: 9.855 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.007519, allocations: 8 kB / 227.8 MB, free: 9.848 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.287e-05/0.007552, allocations: 45.06 kB / 227.9 MB, free: 9.801 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007552, allocations: 0 / 227.9 MB, free: 9.801 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.007729, allocations: 55.88 kB / 227.9 MB, free: 9.746 MB / 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.0004488/0.008178, allocations: 263.7 kB / 228.2 MB, free: 9.52 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.008318, allocations: 80.75 kB / 228.3 MB, free: 9.438 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.008325, allocations: 12.12 kB / 228.3 MB, free: 9.426 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.541e-05/0.00836, allocations: 32.77 kB / 228.3 MB, free: 9.391 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.008463, allocations: 23.92 kB / 228.3 MB, free: 9.367 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/0.008906, allocations: 252.8 kB / 228.6 MB, free: 9.09 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.057e-05/0.008947, allocations: 67.34 kB / 228.7 MB, free: 9.004 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.131e-05/0.008988, allocations: 16.97 kB / 228.7 MB, free: 8.98 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.00905, allocations: 63.36 kB / 228.7 MB, free: 8.918 MB / 234.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009051, allocations: 0 / 228.7 MB, free: 8.918 MB / 234.7 MB Notification: Performance of Templates: time 0.004403/0.01345, allocations: 2.605 MB / 231.3 MB, free: 6.309 MB / 234.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 -ignoreHideResult -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: 2.6292799208313227]