Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006321/0.006321, allocations: 110.2 kB / 21.98 MB, free: 5.18 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.001421/0.001421, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 259 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.88 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2879, allocations: 53.36 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003133/0.2911, allocations: 1.5 MB / 434.7 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.2924, allocations: 0.5963 MB / 435.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.2924, allocations: 0 / 435.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.2925, allocations: 7.875 kB / 435.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.033e-05/0.2926, allocations: 23.8 kB / 435.3 MB, free: 4.824 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0006185/0.2932, allocations: 151.6 kB / 435.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.2934, allocations: 111.7 kB / 435.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.2934, allocations: 5.312 kB / 435.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.2935, allocations: 55.77 kB / 435.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006606/0.2942, allocations: 68.09 kB / 435.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.2942, allocations: 12 kB / 435.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.2945, allocations: 151.7 kB / 435.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.2946, allocations: 27.86 kB / 435.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.2946, allocations: 63.64 kB / 435.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.295, allocations: 200.4 kB / 436.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.295, allocations: 0 / 436.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.295, allocations: 3.938 kB / 436.1 MB, free: 4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.295, allocations: 0 / 436.1 MB, free: 4 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.0006707/0.2957, allocations: 381.4 kB / 436.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2957, allocations: 12.03 kB / 436.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003444/0.2961, allocations: 40.81 kB / 436.6 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.2962, allocations: 142.3 kB / 436.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.2962, allocations: 8.375 kB / 436.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.2963, allocations: 12.36 kB / 436.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.2965, allocations: 111.5 kB / 436.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2965, allocations: 4 kB / 436.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2965, allocations: 0 / 436.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2965, allocations: 0 / 436.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.2967, allocations: 63.88 kB / 436.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.2974, allocations: 348.6 kB / 437.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.2977, allocations: 125.1 kB / 437.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.2978, allocations: 49.75 kB / 437.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.2978, allocations: 4 kB / 437.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.2981, allocations: 145 kB / 437.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.2981, allocations: 0 / 437.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005397/0.2986, allocations: 233.5 kB / 437.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.2987, allocations: 93.16 kB / 437.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.2989, allocations: 182.2 kB / 438 MB, free: 1.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.2989, allocations: 41.7 kB / 438.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.299, allocations: 108.6 kB / 438.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.2991, allocations: 39.69 kB / 438.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-05/0.2992, allocations: 65.91 kB / 438.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2993, allocations: 330.8 kB / 438.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.2995, allocations: 96.45 kB / 438.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.2998, allocations: 129.3 kB / 438.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.3001, allocations: 215.4 kB / 439 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3001, allocations: 0 / 439 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004956/0.3006, allocations: 285.4 kB / 439.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3006, allocations: 7.438 kB / 439.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3006, allocations: 0 / 439.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3007, allocations: 8.062 kB / 439.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.3008, allocations: 31.92 kB / 439.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3008, allocations: 0 / 439.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.837e-05/0.3009, allocations: 27.83 kB / 439.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.3009, allocations: 4 kB / 439.4 MB, free: 500 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.0001653/0.3011, allocations: 149.8 kB / 439.5 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.3011, allocations: 15.84 kB / 439.6 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.3012, allocations: 17.41 kB / 439.6 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3012, allocations: 3.938 kB / 439.6 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3012, allocations: 0 / 439.6 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3012, allocations: 8.078 kB / 439.6 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.3014, allocations: 184.5 kB / 439.8 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3014, allocations: 3.984 kB / 439.8 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.3014, allocations: 8 kB / 439.8 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3014, allocations: 0 / 439.8 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3015, allocations: 7.984 kB / 439.8 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3015, allocations: 0 / 439.8 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3015, allocations: 4 kB / 439.8 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.3019, allocations: 224.6 kB / 440 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.3019, allocations: 23.78 kB / 440 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.3019, allocations: 8 kB / 440 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/0.302, allocations: 3.984 kB / 440.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.302, allocations: 19.98 kB / 440.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.302, allocations: 0 / 440.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.3022, allocations: 140.2 kB / 440.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3022, allocations: 0 / 440.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.3025, allocations: 47.94 kB / 440.3 MB, free: 15.56 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.0004811/0.3029, allocations: 191 kB / 440.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.3034, allocations: 176 kB / 440.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3034, allocations: 0 / 440.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.3036, allocations: 56.03 kB / 440.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.3037, allocations: 14.91 kB / 440.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.3043, allocations: 277.6 kB / 441 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.3046, allocations: 0.708 MB / 441.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.3047, allocations: 15.42 kB / 441.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3047, allocations: 4 kB / 441.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of Templates: time 0.00504/0.3097, allocations: 2.322 MB / 444 MB, free: 11.78 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.8682278820779175]