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.0009515/0.0009515, allocations: 84.34 kB / 21.43 MB, free: 3.121 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.004315/0.004315, allocations: 156.1 kB / 24.7 MB, free: 9.418 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.858/0.858, allocations: 177 MB / 204.9 MB, free: 5.719 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.764e-06/1.764e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.679e-05, allocations: 3.547 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001583/0.00161, allocations: 1.24 MB / 327 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000684/0.002294, allocations: 453.2 kB / 327.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.002327, allocations: 4 kB / 327.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.002361, allocations: 3.938 kB / 327.5 MB, free: 13.66 MB / 298.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.00047/0.002831, allocations: 75.7 kB / 327.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.002978, allocations: 75.58 kB / 327.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.00309, allocations: 51.83 kB / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.367e-05/0.003144, allocations: 0 / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.003203, allocations: 23.97 kB / 327.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.00324, allocations: 19.91 kB / 327.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.003254, allocations: 4 kB / 327.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.003499, allocations: 151.7 kB / 327.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.00355, allocations: 31.92 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.00359, allocations: 31.92 kB / 327.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.003842, allocations: 191.3 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003845, allocations: 4 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.003846, allocations: 0 / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.003851, allocations: 3.938 kB / 328.1 MB, free: 13 MB / 298.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.0004578/0.004309, allocations: 488.7 kB / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.004346, allocations: 11.98 kB / 328.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.004456, allocations: 20.84 kB / 328.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.085e-05/0.004547, allocations: 121.6 kB / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.00456, allocations: 4.375 kB / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.004571, allocations: 4.375 kB / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.004854, allocations: 391.2 kB / 329.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004862, allocations: 4.188 kB / 329.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.004872, allocations: 384 / 329.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.004877, allocations: 4.375 kB / 329.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.005044, allocations: 263.2 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.005198, allocations: 129.8 kB / 329.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.0054, allocations: 296.5 kB / 329.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.005544, allocations: 273 kB / 330.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.005552, allocations: 0 / 330.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003865/0.005938, allocations: 0.5783 MB / 330.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 9.92e-07/0.005939, allocations: 0 / 330.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.0009665/0.006906, allocations: 0.9809 MB / 331.6 MB, free: 9.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.006969, allocations: 160.5 kB / 331.8 MB, free: 9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.007032, allocations: 105.8 kB / 331.9 MB, free: 8.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.007043, allocations: 25.7 kB / 331.9 MB, free: 8.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.007071, allocations: 89.12 kB / 332 MB, free: 8.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.007118, allocations: 87.22 kB / 332.1 MB, free: 8.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.007156, allocations: 41.7 kB / 332.1 MB, free: 8.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.00724, allocations: 326.8 kB / 332.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.007354, allocations: 203.6 kB / 332.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.007471, allocations: 233.5 kB / 332.9 MB, free: 7.848 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.007717, allocations: 468.7 kB / 333.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.00772, allocations: 0 / 333.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002872/0.008007, allocations: 0.4922 MB / 333.8 MB, free: 6.836 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.461e-05/0.008072, allocations: 111.3 kB / 333.9 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.008078, allocations: 0 / 333.9 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.008091, allocations: 0 / 333.9 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.008092, allocations: 0 / 333.9 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.008098, allocations: 3.938 kB / 333.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.529e-05/0.008134, allocations: 23.84 kB / 334 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.008147, allocations: 8 kB / 334 MB, free: 6.68 MB / 298.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.0001571/0.008304, allocations: 279.8 kB / 334.2 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.008334, allocations: 27.91 kB / 334.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.088e-05/0.008345, allocations: 5.656 kB / 334.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.008347, allocations: 0 / 334.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.008351, allocations: 4 kB / 334.3 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.008355, allocations: 7.938 kB / 334.3 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.119e-05/0.008447, allocations: 157 kB / 334.4 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008448, allocations: 0 / 334.4 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-06/0.00845, allocations: 4 kB / 334.4 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.008451, allocations: 0 / 334.4 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.008468, allocations: 23.92 kB / 334.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.008469, allocations: 0 / 334.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.00847, allocations: 0 / 334.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.009078, allocations: 0.9077 MB / 335.4 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.009094, allocations: 23.8 kB / 335.4 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.009165, allocations: 71.97 kB / 335.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.408e-05/0.009199, allocations: 8 kB / 335.5 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.00923, allocations: 15.97 kB / 335.5 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.009247, allocations: 23.92 kB / 335.5 MB, free: 5.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.7e-05/0.009274, allocations: 79.28 kB / 335.6 MB, free: 4.953 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009275, allocations: 0 / 335.6 MB, free: 4.953 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.009501, allocations: 91.88 kB / 335.7 MB, free: 4.863 MB / 298.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.0003937/0.009895, allocations: 315.2 kB / 336 MB, free: 4.582 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005362/0.01043, allocations: 0.8681 MB / 336.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01043, allocations: 0 / 336.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.01072, allocations: 0.5332 MB / 337.4 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.01086, allocations: 23.94 kB / 337.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.01136, allocations: 0.5354 MB / 338 MB, free: 2.488 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.281e-05/0.01143, allocations: 118.3 kB / 338.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.229e-05/0.01144, allocations: 8.5 kB / 338.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01144, allocations: 0 / 338.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of Templates: time 0.003538/0.01498, allocations: 2.894 MB / 341 MB, free: 15.45 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.7555626863613725]