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.001734/0.001734, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002114/0.002114, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 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.482/1.482, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001548/0.001548, allocations: 47.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2915, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002867/0.2943, allocations: 1.501 MB / 424.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2956, allocations: 0.5911 MB / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.2956, allocations: 0 / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.526e-05/0.2957, allocations: 11.81 kB / 425.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.2958, allocations: 27.78 kB / 425.2 MB, free: 12.54 MB / 334.1 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.0006248/0.2964, allocations: 143.6 kB / 425.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.2966, allocations: 115.7 kB / 425.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.2966, allocations: 5.312 kB / 425.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/0.2967, allocations: 51.83 kB / 425.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005888/0.2973, allocations: 74.3 kB / 425.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.2973, allocations: 12 kB / 425.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.2976, allocations: 143.8 kB / 425.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.2977, allocations: 35.8 kB / 425.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.2978, allocations: 59.64 kB / 425.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.2981, allocations: 196.6 kB / 426.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2981, allocations: 4 kB / 426.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2981, allocations: 0 / 426.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2981, allocations: 0 / 426.1 MB, free: 11.73 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.0006834/0.2988, allocations: 385.4 kB / 426.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2988, allocations: 12.03 kB / 426.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003164/0.2992, allocations: 36.81 kB / 426.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.2993, allocations: 138.3 kB / 426.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.2993, allocations: 12.11 kB / 426.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.2994, allocations: 8 kB / 426.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.2996, allocations: 111.4 kB / 426.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2996, allocations: 0 / 426.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2996, allocations: 4 kB / 426.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2996, allocations: 0 / 426.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.2998, allocations: 55.89 kB / 426.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007181/0.3005, allocations: 352.6 kB / 427.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.3009, allocations: 121.1 kB / 427.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.301, allocations: 49.77 kB / 427.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.301, allocations: 7.984 kB / 427.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.3013, allocations: 144.5 kB / 427.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.3013, allocations: 0 / 427.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005566/0.3018, allocations: 229.6 kB / 427.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.3019, allocations: 97.03 kB / 427.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3021, allocations: 178.2 kB / 428 MB, free: 9.645 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.3021, allocations: 45.64 kB / 428 MB, free: 9.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.3022, allocations: 108.5 kB / 428.1 MB, free: 9.484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.3022, allocations: 47.66 kB / 428.2 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.3023, allocations: 57.92 kB / 428.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3025, allocations: 330.8 kB / 428.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.3027, allocations: 100.5 kB / 428.6 MB, free: 8.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.3029, allocations: 136.3 kB / 428.8 MB, free: 8.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.3033, allocations: 215.4 kB / 429 MB, free: 8.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3033, allocations: 0 / 429 MB, free: 8.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005082/0.3038, allocations: 293.4 kB / 429.3 MB, free: 8.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3038, allocations: 6.969 kB / 429.3 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3038, allocations: 0 / 429.3 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3038, allocations: 4.062 kB / 429.3 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.304, allocations: 35.92 kB / 429.3 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.304, allocations: 3.938 kB / 429.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.291e-05/0.3041, allocations: 19.88 kB / 429.3 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.3041, allocations: 8 kB / 429.3 MB, free: 8.211 MB / 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.0001453/0.3042, allocations: 145.9 kB / 429.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.3043, allocations: 11.91 kB / 429.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.3043, allocations: 17.41 kB / 429.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3043, allocations: 0 / 429.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.3043, allocations: 15.86 kB / 429.5 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3043, allocations: 0 / 429.5 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.3045, allocations: 184.6 kB / 429.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3045, allocations: 0 / 429.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.3046, allocations: 8 kB / 429.7 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3046, allocations: 7.922 kB / 429.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.3046, allocations: 4 kB / 429.7 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.3046, allocations: 480 / 429.7 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3046, allocations: 7.938 kB / 429.7 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.305, allocations: 217.8 kB / 430 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.305, allocations: 15.84 kB / 430 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.305, allocations: 12 kB / 430 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.3051, allocations: 7.984 kB / 430 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.3051, allocations: 19.86 kB / 430 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.3052, allocations: 4 kB / 430 MB, free: 7.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3053, allocations: 136.2 kB / 430.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3053, allocations: 0 / 430.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.3056, allocations: 47.94 kB / 430.2 MB, free: 7.289 MB / 334.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.0004823/0.306, allocations: 193.7 kB / 430.4 MB, free: 7.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004189/0.3065, allocations: 167.9 kB / 430.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3065, allocations: 0 / 430.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.3066, allocations: 56.03 kB / 430.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.3068, allocations: 19.92 kB / 430.6 MB, free: 6.879 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.3073, allocations: 251.7 kB / 430.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3076, allocations: 0.7041 MB / 431.6 MB, free: 5.875 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.3077, allocations: 20.95 kB / 431.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.3077, allocations: 19.44 kB / 431.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3077, allocations: 0 / 431.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of Templates: time 0.005733/0.3134, allocations: 2.048 MB / 433.7 MB, free: 3.785 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.6462606796994805]