Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009456/0.0009456, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.00226, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009221/0.0009221, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001124/0.002046, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8852/0.8852, allocations: 158.6 MB / 171.1 MB, free: 2.57 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1599/1.045, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.244e-05, allocations: 2.312 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001395/0.001408, allocations: 1.306 MB / 223.1 MB, free: 14.85 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005389/0.001947, allocations: 470.2 kB / 223.6 MB, free: 14.39 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.001976, allocations: 0 / 223.6 MB, free: 14.39 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.001995, allocations: 0 / 223.6 MB, free: 14.39 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.002284, allocations: 75.59 kB / 223.7 MB, free: 14.31 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.002398, allocations: 67.67 kB / 223.7 MB, free: 14.25 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.497e-05/0.002493, allocations: 35.92 kB / 223.8 MB, free: 14.21 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.002534, allocations: 11.92 kB / 223.8 MB, free: 14.2 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.113e-05/0.002595, allocations: 23.97 kB / 223.8 MB, free: 14.18 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.378e-05/0.002628, allocations: 23.91 kB / 223.8 MB, free: 14.15 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.002641, allocations: 4 kB / 223.8 MB, free: 14.15 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.00289, allocations: 155.6 kB / 224 MB, free: 14 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.002946, allocations: 35.92 kB / 224 MB, free: 13.96 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.002982, allocations: 27.88 kB / 224 MB, free: 13.93 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.003217, allocations: 175.4 kB / 224.2 MB, free: 13.76 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.805e-05/0.003235, allocations: 0 / 224.2 MB, free: 13.76 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.003235, allocations: 0 / 224.2 MB, free: 13.76 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.003253, allocations: 3.938 kB / 224.2 MB, free: 13.76 MB / 234.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.0006025/0.003856, allocations: 465.9 kB / 224.7 MB, free: 13.26 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.003903, allocations: 12.03 kB / 224.7 MB, free: 13.25 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.004099, allocations: 102 kB / 224.8 MB, free: 13.13 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.004233, allocations: 121.6 kB / 224.9 MB, free: 12.99 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.004245, allocations: 4.375 kB / 224.9 MB, free: 12.98 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.004255, allocations: 4.375 kB / 224.9 MB, free: 12.98 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.004442, allocations: 294.1 kB / 225.2 MB, free: 12.67 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.00445, allocations: 192 / 225.2 MB, free: 12.67 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.004457, allocations: 384 / 225.2 MB, free: 12.67 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.004461, allocations: 4.375 kB / 225.2 MB, free: 12.67 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.756e-05/0.004559, allocations: 189.9 kB / 225.4 MB, free: 12.47 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.272e-05/0.004642, allocations: 100.5 kB / 225.5 MB, free: 12.35 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.004767, allocations: 220.6 kB / 225.7 MB, free: 12.11 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/0.004858, allocations: 197.1 kB / 225.9 MB, free: 11.89 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-06/0.004861, allocations: 0 / 225.9 MB, free: 11.89 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.005154, allocations: 486 kB / 226.4 MB, free: 11.36 MB / 234.7 MB Notification: Performance of pre-optimization done (n=46): time 1.423e-06/0.005156, allocations: 0 / 226.4 MB, free: 11.36 MB / 234.7 MB Notification: Performance of matching and sorting (n=46): time 0.0004718/0.005628, allocations: 0.7496 MB / 227.1 MB, free: 10.57 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.005686, allocations: 156.5 kB / 227.3 MB, free: 10.39 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.759e-05/0.005743, allocations: 114.7 kB / 227.4 MB, free: 10.26 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.005753, allocations: 25.77 kB / 227.4 MB, free: 10.23 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.005771, allocations: 85.14 kB / 227.5 MB, free: 10.14 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.00582, allocations: 91.25 kB / 227.6 MB, free: 10.05 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.00586, allocations: 41.66 kB / 227.6 MB, free: 10.01 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.564e-05/0.005936, allocations: 330.7 kB / 228 MB, free: 9.676 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-05/0.006019, allocations: 158.6 kB / 228.1 MB, free: 9.508 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.078e-05/0.00611, allocations: 181.5 kB / 228.3 MB, free: 9.312 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.006299, allocations: 378 kB / 228.7 MB, free: 8.91 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.006301, allocations: 0 / 228.7 MB, free: 8.91 MB / 234.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002547/0.006555, allocations: 451.1 kB / 229.1 MB, free: 8.438 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.525e-05/0.006621, allocations: 107.3 kB / 229.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.006625, allocations: 4.094 kB / 229.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.006635, allocations: 0 / 229.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-06/0.00664, allocations: 3.938 kB / 229.2 MB, free: 8.312 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.006643, allocations: 4 kB / 229.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.573e-05/0.006679, allocations: 27.72 kB / 229.2 MB, free: 8.281 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.006691, allocations: 11.94 kB / 229.2 MB, free: 8.27 MB / 234.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.0001463/0.006837, allocations: 262.5 kB / 229.5 MB, free: 7.988 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.00687, allocations: 39.97 kB / 229.5 MB, free: 7.949 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.278e-05/0.006882, allocations: 9.969 kB / 229.6 MB, free: 7.941 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.006884, allocations: 0 / 229.6 MB, free: 7.941 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.006886, allocations: 4 kB / 229.6 MB, free: 7.938 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006889, allocations: 3.984 kB / 229.6 MB, free: 7.934 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.538e-05/0.006975, allocations: 105.7 kB / 229.7 MB, free: 7.812 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.006976, allocations: 0 / 229.7 MB, free: 7.812 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.006977, allocations: 4 kB / 229.7 MB, free: 7.809 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.006989, allocations: 19.84 kB / 229.7 MB, free: 7.789 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006991, allocations: 0 / 229.7 MB, free: 7.789 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.007005, allocations: 15.98 kB / 229.7 MB, free: 7.773 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.007006, allocations: 0 / 229.7 MB, free: 7.773 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.007008, allocations: 4 kB / 229.7 MB, free: 7.77 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.007421, allocations: 0.7209 MB / 230.4 MB, free: 7 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/0.007485, allocations: 59.94 kB / 230.5 MB, free: 6.941 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.109e-05/0.007516, allocations: 12 kB / 230.5 MB, free: 6.93 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.007539, allocations: 4 kB / 230.5 MB, free: 6.926 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.007556, allocations: 24.02 kB / 230.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.18e-05/0.007568, allocations: 8.859 kB / 230.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007568, allocations: 0 / 230.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.007754, allocations: 87.92 kB / 230.6 MB, free: 6.805 MB / 234.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.0004485/0.008202, allocations: 347.1 kB / 231 MB, free: 6.504 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.008582, allocations: 0.6778 MB / 231.6 MB, free: 5.773 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.008585, allocations: 0 / 231.6 MB, free: 5.773 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.008799, allocations: 467.4 kB / 232.1 MB, free: 5.277 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.008903, allocations: 51.92 kB / 232.1 MB, free: 5.227 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.009377, allocations: 421.9 kB / 232.6 MB, free: 4.77 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.776e-05/0.009414, allocations: 84.25 kB / 232.6 MB, free: 4.664 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.252e-06/0.009421, allocations: 0 / 232.6 MB, free: 4.664 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.009545, allocations: 119.4 kB / 232.8 MB, free: 4.547 MB / 234.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009546, allocations: 128 / 232.8 MB, free: 4.547 MB / 234.7 MB Notification: Performance of Templates: time 0.004268/0.01381, allocations: 3.387 MB / 236.1 MB, free: 1.148 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5230732271447778]