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.001548/0.001548, allocations: 120.7 kB / 19.18 MB, free: 3.906 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.001726/0.001726, allocations: 202.6 kB / 22.12 MB, free: 0.9648 MB / 14.72 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 1.453/1.453, allocations: 230.2 MB / 255.2 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00195/0.00195, allocations: 67.83 kB / 374.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1105, allocations: 53.31 MB / 427.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002882/0.1134, allocations: 1.245 MB / 429.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1145, allocations: 466.3 kB / 429.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.1145, allocations: 0 / 429.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.1145, allocations: 3.938 kB / 429.5 MB, free: 2.812 MB / 350.1 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.0005433/0.1151, allocations: 71.73 kB / 429.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.1153, allocations: 75.73 kB / 429.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.1154, allocations: 43.91 kB / 429.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.1154, allocations: 0 / 429.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.872e-05/0.1155, allocations: 27.91 kB / 429.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.1156, allocations: 23.91 kB / 429.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1156, allocations: 0 / 429.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.1159, allocations: 119.8 kB / 429.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.004e-05/0.1159, allocations: 39.84 kB / 429.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.911e-05/0.116, allocations: 51.67 kB / 430 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.1163, allocations: 171.3 kB / 430.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1163, allocations: 4 kB / 430.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1163, allocations: 3.938 kB / 430.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1163, allocations: 0 / 430.2 MB, free: 2.191 MB / 350.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.00069/0.117, allocations: 0.5643 MB / 430.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.117, allocations: 12.03 kB / 430.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.1172, allocations: 16.84 kB / 430.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.1174, allocations: 180.2 kB / 430.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1174, allocations: 4.359 kB / 430.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.1174, allocations: 4.375 kB / 430.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.1178, allocations: 283.7 kB / 431.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1178, allocations: 192 / 431.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.1178, allocations: 11.92 kB / 431.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1178, allocations: 0 / 431.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.118, allocations: 136 kB / 431.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.1183, allocations: 214 kB / 431.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1185, allocations: 181.1 kB / 431.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.1187, allocations: 153.7 kB / 431.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.1187, allocations: 0 / 431.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005515/0.1192, allocations: 476.8 kB / 432.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.132e-06/0.1192, allocations: 4 kB / 432.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.001001/0.1202, allocations: 0.7466 MB / 433.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.1204, allocations: 156.5 kB / 433.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1205, allocations: 101.8 kB / 433.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1205, allocations: 29.7 kB / 433.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.1206, allocations: 81.14 kB / 433.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1207, allocations: 87.28 kB / 433.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.1208, allocations: 41.7 kB / 433.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1209, allocations: 334.9 kB / 433.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.121, allocations: 76.36 kB / 434 MB, free: 14.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.1211, allocations: 106.4 kB / 434.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.1215, allocations: 429.6 kB / 434.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.1215, allocations: 0 / 434.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004383/0.122, allocations: 340.9 kB / 434.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.1221, allocations: 121.7 kB / 435 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1221, allocations: 96 / 435 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1222, allocations: 4 kB / 435 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.1222, allocations: 0 / 435 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1222, allocations: 4 kB / 435 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.514e-05/0.1222, allocations: 19.84 kB / 435 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.1222, allocations: 8 kB / 435 MB, free: 12.95 MB / 366.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.0003158/0.1226, allocations: 303.7 kB / 435.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.1226, allocations: 27.84 kB / 435.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.639e-05/0.1226, allocations: 9.562 kB / 435.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1226, allocations: 0 / 435.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1226, allocations: 4 kB / 435.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1226, allocations: 0 / 435.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1229, allocations: 225.4 kB / 435.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1229, allocations: 11.98 kB / 435.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.1229, allocations: 0 / 435.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1229, allocations: 3.938 kB / 435.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.1229, allocations: 20 kB / 435.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1229, allocations: 7.922 kB / 435.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1229, allocations: 3.984 kB / 435.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.1243, allocations: 1.252 MB / 436.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.1244, allocations: 108.9 kB / 437 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.1245, allocations: 71.88 kB / 437 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.381e-05/0.1245, allocations: 12 kB / 437 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.1246, allocations: 4 kB / 437 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.1246, allocations: 19.98 kB / 437.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.874e-05/0.1247, allocations: 87.27 kB / 437.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1247, allocations: 0 / 437.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003481/0.125, allocations: 79.94 kB / 437.2 MB, free: 10.6 MB / 366.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.0006649/0.1257, allocations: 306 kB / 437.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.1268, allocations: 1.068 MB / 438.6 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1268, allocations: 0 / 438.6 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008463/0.1276, allocations: 0.8928 MB / 439.5 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.1278, allocations: 20 kB / 439.5 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.1285, allocations: 429.9 kB / 439.9 MB, free: 7.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.1291, allocations: 0.7245 MB / 440.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.1291, allocations: 11.38 kB / 440.7 MB, free: 7.066 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1291, allocations: 0 / 440.7 MB, free: 7.066 MB / 366.1 MB Notification: Performance of Templates: time 0.005749/0.1349, allocations: 2.856 MB / 443.5 MB, free: 4.215 MB / 366.1 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/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_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: 7.596589067950845]