Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001315/0.001315, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001466/0.001466, allocations: 167.6 kB / 24.91 MB, free: 8.762 MB / 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 0.9607/0.9607, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] 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.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.72e-05, allocations: 2.312 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002117/0.002134, allocations: 1.277 MB / 274.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006804/0.002814, allocations: 474 kB / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.002849, allocations: 0 / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.002885, allocations: 3.938 kB / 275.1 MB, free: 15.47 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.typeBindings: time 0.0004365/0.003322, allocations: 79.72 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.003451, allocations: 71.61 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.003528, allocations: 43.84 kB / 275.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.003562, allocations: 4 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.501e-05/0.003607, allocations: 23.97 kB / 275.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.416e-05/0.003641, allocations: 23.91 kB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.003653, allocations: 0 / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.003886, allocations: 155.6 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.003925, allocations: 31.94 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.00396, allocations: 27.88 kB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.004173, allocations: 195.3 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004176, allocations: 0 / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.004178, allocations: 0 / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.004181, allocations: 4 kB / 275.8 MB, free: 14.82 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004034/0.004585, allocations: 446.1 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.004616, allocations: 11.98 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.004733, allocations: 20.92 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.173e-05/0.004825, allocations: 125.5 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.004837, allocations: 4.375 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.004848, allocations: 4.375 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.005033, allocations: 254.3 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.005039, allocations: 192 / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.005048, allocations: 384 / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.005052, allocations: 384 / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.005141, allocations: 170.1 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.122e-05/0.005222, allocations: 88.52 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.005335, allocations: 196.6 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.005418, allocations: 169.1 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-06/0.005421, allocations: 3.938 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.005662, allocations: 453.9 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.202e-06/0.005663, allocations: 4 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.0004282/0.006092, allocations: 0.6754 MB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.00615, allocations: 156.5 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.614e-05/0.006207, allocations: 102.7 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.006216, allocations: 25.7 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.307e-05/0.006239, allocations: 89.12 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.006285, allocations: 87.2 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.006323, allocations: 45.64 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.0064, allocations: 330.7 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.535e-05/0.006465, allocations: 130.6 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.006535, allocations: 157.8 kB / 279.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.006689, allocations: 322.3 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006691, allocations: 0 / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002252/0.006916, allocations: 391.2 kB / 280.1 MB, free: 10 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/0.006975, allocations: 107.3 kB / 280.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.006979, allocations: 0 / 280.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.006989, allocations: 0 / 280.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.156e-06/0.006992, allocations: 0 / 280.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.006994, allocations: 0 / 280.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.007034, allocations: 27.78 kB / 280.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.00705, allocations: 15.94 kB / 280.3 MB, free: 9.84 MB / 266.7 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.0001443/0.007195, allocations: 262.6 kB / 280.5 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.007231, allocations: 39.97 kB / 280.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.449e-05/0.007245, allocations: 9.656 kB / 280.6 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.007248, allocations: 7.984 kB / 280.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007249, allocations: 0 / 280.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.007253, allocations: 4 kB / 280.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.877e-05/0.007332, allocations: 105.6 kB / 280.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007333, allocations: 3.938 kB / 280.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.007333, allocations: 0 / 280.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.007335, allocations: 0 / 280.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.007351, allocations: 15.98 kB / 280.7 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.007352, allocations: 4 kB / 280.7 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007352, allocations: 0 / 280.7 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.007834, allocations: 0.6517 MB / 281.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.00785, allocations: 19.88 kB / 281.4 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.007918, allocations: 59.94 kB / 281.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.515e-05/0.007953, allocations: 12 kB / 281.5 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.007979, allocations: 7.984 kB / 281.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.007996, allocations: 16 kB / 281.5 MB, free: 8.543 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.584e-05/0.008012, allocations: 16.78 kB / 281.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008012, allocations: 0 / 281.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.008228, allocations: 87.88 kB / 281.6 MB, free: 8.438 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: 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.0004975/0.008726, allocations: 326.8 kB / 281.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.009086, allocations: 0.6156 MB / 282.5 MB, free: 7.492 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.009089, allocations: 0 / 282.5 MB, free: 7.492 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.009291, allocations: 434.8 kB / 282.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.566e-05/0.009387, allocations: 35.16 kB / 283 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.009772, allocations: 411.8 kB / 283.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.112e-05/0.009813, allocations: 80.31 kB / 283.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.113e-06/0.00982, allocations: 4 kB / 283.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.009956, allocations: 123.3 kB / 283.6 MB, free: 6.32 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.009957, allocations: 0 / 283.6 MB, free: 6.32 MB / 266.7 MB Notification: Performance of Templates: time 0.004385/0.01434, allocations: 3.369 MB / 287 MB, free: 2.977 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.60053160879761]