Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.009064/0.009064, allocations: 108.3 kB / 21.97 MB, free: 5.184 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.002414/0.002414, 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.466/1.466, allocations: 230.6 MB / 259 MB, free: 8.02 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.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers") [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.001959/0.001959, allocations: 76.75 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2815, allocations: 53.35 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002687/0.2841, allocations: 1.257 MB / 434.4 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.2853, allocations: 473.5 kB / 434.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.2853, allocations: 3.938 kB / 434.9 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.2853, allocations: 0 / 434.9 MB, free: 5.246 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.typeBindings: time 0.0004956/0.2858, allocations: 83.66 kB / 435 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.286, allocations: 67.73 kB / 435 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.2861, allocations: 47.84 kB / 435.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.2862, allocations: 4 kB / 435.1 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.004e-05/0.2862, allocations: 19.97 kB / 435.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.2862, allocations: 31.84 kB / 435.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.2863, allocations: 4 kB / 435.1 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.2866, allocations: 151.7 kB / 435.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.2867, allocations: 31.92 kB / 435.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.2867, allocations: 51.66 kB / 435.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.287, allocations: 176.5 kB / 435.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.287, allocations: 0 / 435.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2871, allocations: 0 / 435.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2871, allocations: 0 / 435.5 MB, free: 4.594 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006898/0.2877, allocations: 0.4968 MB / 436 MB, free: 4.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2878, allocations: 8.031 kB / 436 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.2879, allocations: 24.83 kB / 436.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.2881, allocations: 134.2 kB / 436.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2881, allocations: 4.375 kB / 436.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.2881, allocations: 4.375 kB / 436.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.2885, allocations: 275.8 kB / 436.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.2885, allocations: 192 / 436.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.2885, allocations: 7.938 kB / 436.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2885, allocations: 4 kB / 436.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.2887, allocations: 147.9 kB / 436.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.2889, allocations: 173.2 kB / 436.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.2891, allocations: 173.2 kB / 437 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.2893, allocations: 153.7 kB / 437.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.2893, allocations: 4 kB / 437.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005233/0.2898, allocations: 484.6 kB / 437.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.012e-06/0.2898, allocations: 0 / 437.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009798/0.2908, allocations: 0.735 MB / 438.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.2909, allocations: 156.5 kB / 438.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.454e-05/0.291, allocations: 105.9 kB / 438.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.291, allocations: 29.7 kB / 438.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.2911, allocations: 85.14 kB / 438.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-05/0.2911, allocations: 91.22 kB / 438.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.2912, allocations: 41.69 kB / 438.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2913, allocations: 326.8 kB / 439.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.864e-05/0.2914, allocations: 80.34 kB / 439.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.2916, allocations: 110.4 kB / 439.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.2919, allocations: 425.3 kB / 439.8 MB, free: 64 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2919, allocations: 3.938 kB / 439.8 MB, free: 60 kB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004159/0.2924, allocations: 356.8 kB / 440.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.2925, allocations: 107.3 kB / 440.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2925, allocations: 4 kB / 440.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2925, allocations: 0 / 440.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.2925, allocations: 0 / 440.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2925, allocations: 0 / 440.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.2926, allocations: 23.84 kB / 440.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.2926, allocations: 16.05 kB / 440.3 MB, free: 15.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 (state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],r1024,r128,r64,$whenCondition2,iImpure,rImpure,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0002748/0.2928, allocations: 291.6 kB / 440.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.2929, allocations: 36.17 kB / 440.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/0.2929, allocations: 5.656 kB / 440.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2929, allocations: 3.984 kB / 440.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2929, allocations: 0 / 440.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2929, allocations: 3.984 kB / 440.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.2931, allocations: 208.5 kB / 440.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2931, allocations: 0 / 440.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-07/0.2931, allocations: 0 / 440.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2931, allocations: 7.938 kB / 440.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.2932, allocations: 23.98 kB / 440.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2932, allocations: 0 / 440.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2932, allocations: 4 kB / 440.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.2946, allocations: 1.244 MB / 442.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.2946, allocations: 23.8 kB / 442.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.2947, allocations: 71.88 kB / 442.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.368e-05/0.2947, allocations: 8 kB / 442.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.2948, allocations: 19.92 kB / 442.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.2948, allocations: 20.03 kB / 442.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.884e-05/0.2949, allocations: 83.27 kB / 442.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2949, allocations: 0 / 442.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003305/0.2952, allocations: 87.88 kB / 442.4 MB, free: 13.3 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: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.000626/0.2958, allocations: 297.4 kB / 442.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.2969, allocations: 1.065 MB / 443.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2969, allocations: 128 / 443.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008385/0.2978, allocations: 0.9045 MB / 444.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.298, allocations: 22.75 kB / 444.7 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006861/0.2987, allocations: 421.7 kB / 445.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.299, allocations: 0.7245 MB / 445.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.2991, allocations: 11.56 kB / 445.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.2991, allocations: 0 / 445.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of Templates: time 0.005718/0.3048, allocations: 2.859 MB / 448.7 MB, free: 6.93 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.947637666016817]