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.001807/0.001807, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002421/0.002421, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 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.581/1.581, allocations: 230.5 MB / 258.1 MB, free: 8.02 MB / 206.1 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 0.002083/0.002083, allocations: 63.89 kB / 379 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2686, allocations: 53.41 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002837/0.2714, allocations: 1.508 MB / 433.9 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2726, allocations: 0.5918 MB / 434.5 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.2727, allocations: 4 kB / 434.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.706e-05/0.2728, allocations: 15.86 kB / 434.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.728e-05/0.2728, allocations: 19.8 kB / 434.6 MB, free: 4.637 MB / 334.1 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.0005803/0.2734, allocations: 147.6 kB / 434.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.2736, allocations: 111.7 kB / 434.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.608e-05/0.2736, allocations: 13.28 kB / 434.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.2737, allocations: 39.86 kB / 434.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006027/0.2743, allocations: 85.11 kB / 435 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.2743, allocations: 11.94 kB / 435 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.2746, allocations: 147.8 kB / 435.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.2747, allocations: 35.83 kB / 435.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.2748, allocations: 51.67 kB / 435.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.2751, allocations: 196.6 kB / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2751, allocations: 0 / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2751, allocations: 0 / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2751, allocations: 0 / 435.4 MB, free: 3.824 MB / 334.1 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.0006901/0.2758, allocations: 389.4 kB / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.2758, allocations: 8.031 kB / 435.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.2762, allocations: 44.81 kB / 435.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.2763, allocations: 139.1 kB / 436 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.2763, allocations: 384 / 436 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.2764, allocations: 12.38 kB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.2766, allocations: 107.9 kB / 436.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2766, allocations: 192 / 436.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.2766, allocations: 7.938 kB / 436.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2766, allocations: 4 kB / 436.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.2768, allocations: 63.89 kB / 436.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.2775, allocations: 344.5 kB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.2778, allocations: 129 kB / 436.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.2779, allocations: 49.75 kB / 436.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.2779, allocations: 0 / 436.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.2782, allocations: 137.1 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.2782, allocations: 0 / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005426/0.2787, allocations: 241.6 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.2788, allocations: 93.03 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.279, allocations: 190.2 kB / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.279, allocations: 45.69 kB / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2791, allocations: 100.6 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.2792, allocations: 47.67 kB / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.2793, allocations: 53.92 kB / 437.6 MB, free: 1.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2794, allocations: 326.8 kB / 437.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.2796, allocations: 96.45 kB / 438 MB, free: 1.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.2798, allocations: 133.4 kB / 438.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.2802, allocations: 214.8 kB / 438.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2802, allocations: 0 / 438.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005209/0.2807, allocations: 293.5 kB / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2807, allocations: 4 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2807, allocations: 4 kB / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2808, allocations: 0 / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.2809, allocations: 23.98 kB / 438.6 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2809, allocations: 7.938 kB / 438.6 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.281, allocations: 23.83 kB / 438.7 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.281, allocations: 8 kB / 438.7 MB, free: 316 kB / 334.1 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.0001577/0.2812, allocations: 153.9 kB / 438.8 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.2812, allocations: 15.91 kB / 438.8 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.2812, allocations: 13.39 kB / 438.8 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2812, allocations: 4 kB / 438.8 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2812, allocations: 3.938 kB / 438.9 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2812, allocations: 0 / 438.9 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.2815, allocations: 180.5 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2815, allocations: 4 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.2815, allocations: 15.92 kB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2815, allocations: 0 / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.2815, allocations: 4 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2815, allocations: 0 / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2815, allocations: 0 / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.2819, allocations: 221.3 kB / 439.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.282, allocations: 23.84 kB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.282, allocations: 11.98 kB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.282, allocations: 11.94 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.2821, allocations: 15.92 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.2821, allocations: 7.984 kB / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.2822, allocations: 128.2 kB / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2822, allocations: 0 / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.2825, allocations: 43.94 kB / 439.5 MB, free: 15.39 MB / 350.1 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.0005279/0.2831, allocations: 204.3 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004299/0.2835, allocations: 180.4 kB / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2835, allocations: 0 / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.2836, allocations: 59.89 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.2838, allocations: 10.66 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.2843, allocations: 269.6 kB / 440.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.2847, allocations: 0.7159 MB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.2847, allocations: 11.44 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2847, allocations: 0 / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Templates: time 0.004579/0.2893, allocations: 2.322 MB / 443.3 MB, free: 11.6 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/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: 7.68699387810193]