Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001902/0.001902, allocations: 99.53 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002051/0.002051, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.711/1.711, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.572e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003229/0.003265, allocations: 1.499 MB / 273.7 MB, free: 296 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.004676, allocations: 0.5724 MB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.004731, allocations: 0 / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.004858, allocations: 11.86 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.892e-05/0.004937, allocations: 15.81 kB / 274.3 MB, free: 15.69 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0007026/0.00564, allocations: 159.4 kB / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.005851, allocations: 123.6 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.005905, allocations: 9.25 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.006025, allocations: 59.88 kB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007679/0.006793, allocations: 79.05 kB / 274.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.006828, allocations: 8 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.00718, allocations: 147.7 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.007243, allocations: 31.84 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.767e-05/0.007321, allocations: 39.89 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.00774, allocations: 207.3 kB / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.007744, allocations: 0 / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.007745, allocations: 4 kB / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.007751, allocations: 0 / 275.2 MB, free: 14.85 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.0008299/0.008581, allocations: 491.3 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.008627, allocations: 11.98 kB / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000376/0.009003, allocations: 44.75 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.009204, allocations: 148.4 kB / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.009227, allocations: 4.375 kB / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.009249, allocations: 8.375 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.009484, allocations: 89.59 kB / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.009494, allocations: 4.188 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.009508, allocations: 4.375 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.009512, allocations: 384 / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.009668, allocations: 43.84 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.01041, allocations: 363.2 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.01072, allocations: 122.1 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.01084, allocations: 51.42 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.01086, allocations: 0 / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.01113, allocations: 128.3 kB / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 9.42e-07/0.01113, allocations: 0 / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005437/0.01168, allocations: 189.6 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.01176, allocations: 93.09 kB / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.01205, allocations: 257.8 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.01211, allocations: 45.69 kB / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.01225, allocations: 155.4 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.91e-05/0.01232, allocations: 51.69 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.01244, allocations: 71.58 kB / 277.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003445/0.01278, allocations: 0.5118 MB / 278 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.01294, allocations: 48.5 kB / 278 MB, free: 11.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.01313, allocations: 104.5 kB / 278.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.01343, allocations: 147.5 kB / 278.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01343, allocations: 0 / 278.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004666/0.0139, allocations: 217.4 kB / 278.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.01392, allocations: 4 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.01394, allocations: 4.469 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.01395, allocations: 0 / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.01416, allocations: 47.86 kB / 278.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.01417, allocations: 7.984 kB / 278.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.97e-05/0.01424, allocations: 15.84 kB / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.01427, allocations: 12 kB / 278.6 MB, free: 11.13 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.0001846/0.01445, allocations: 192.6 kB / 278.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.01449, allocations: 19.84 kB / 278.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.01452, allocations: 13.47 kB / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.01453, allocations: 4 kB / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01454, allocations: 0 / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01454, allocations: 0 / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.01476, allocations: 164.5 kB / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.01476, allocations: 4 kB / 279 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.01481, allocations: 7.984 kB / 279 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01481, allocations: 4 kB / 279 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.01483, allocations: 11.94 kB / 279 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01483, allocations: 0 / 279 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.01483, allocations: 3.984 kB / 279 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.01521, allocations: 199 kB / 279.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.01525, allocations: 19.84 kB / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.01529, allocations: 15.92 kB / 279.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.591e-05/0.01534, allocations: 0 / 279.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.01541, allocations: 15.98 kB / 279.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.01542, allocations: 3.984 kB / 279.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.01559, allocations: 175.2 kB / 279.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01559, allocations: 0 / 279.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003145/0.01591, allocations: 47.94 kB / 279.5 MB, free: 10.17 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.0007173/0.01662, allocations: 210 kB / 279.7 MB, free: 9.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003908/0.01701, allocations: 135.6 kB / 279.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.01702, allocations: 4 kB / 279.8 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.01716, allocations: 47.66 kB / 279.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.01739, allocations: 19.92 kB / 279.9 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005933/0.01798, allocations: 257.8 kB / 280.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.01811, allocations: 97.89 kB / 280.2 MB, free: 9.371 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.01817, allocations: 17.05 kB / 280.2 MB, free: 9.355 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.01822, allocations: 12.5 kB / 280.3 MB, free: 9.344 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01822, allocations: 0 / 280.3 MB, free: 9.344 MB / 266.7 MB Notification: Performance of Templates: time 0.006995/0.02521, allocations: 2.233 MB / 282.5 MB, free: 7.117 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.914153164019808]