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.001306/0.001306, allocations: 113.6 kB / 18.5 MB, free: 4.562 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.001342/0.001342, allocations: 197 kB / 21.45 MB, free: 1.613 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.462/1.462, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.002086/0.002086, allocations: 67.89 kB / 373.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1061, allocations: 53.32 MB / 427.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002561/0.1086, allocations: 1.235 MB / 428.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1097, allocations: 474.3 kB / 428.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.1098, allocations: 0 / 428.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.748e-05/0.1098, allocations: 3.938 kB / 428.9 MB, free: 2.773 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.0004874/0.1103, allocations: 75.73 kB / 428.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.1105, allocations: 63.75 kB / 429 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.1106, allocations: 47.95 kB / 429 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.1106, allocations: 3.938 kB / 429 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.409e-05/0.1106, allocations: 15.92 kB / 429.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.044e-05/0.1107, allocations: 23.91 kB / 429.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1107, allocations: 4 kB / 429.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.1109, allocations: 127.8 kB / 429.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.111, allocations: 35.84 kB / 429.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.111, allocations: 47.69 kB / 429.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1113, allocations: 179.3 kB / 429.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1113, allocations: 0 / 429.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1113, allocations: 3.938 kB / 429.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1113, allocations: 0 / 429.5 MB, free: 2.156 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.0006292/0.1119, allocations: 0.5631 MB / 430 MB, free: 1.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.112, allocations: 8.031 kB / 430 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.1121, allocations: 24.83 kB / 430.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1123, allocations: 180.2 kB / 430.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.1123, allocations: 8.375 kB / 430.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1123, allocations: 8.375 kB / 430.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.1127, allocations: 267.8 kB / 430.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.1127, allocations: 192 / 430.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1127, allocations: 11.94 kB / 430.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1127, allocations: 3.938 kB / 430.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.1129, allocations: 143.9 kB / 430.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.1131, allocations: 210 kB / 430.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.1133, allocations: 181.1 kB / 431.1 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.1135, allocations: 153.7 kB / 431.2 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.1135, allocations: 0 / 431.2 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005155/0.114, allocations: 484.8 kB / 431.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.443e-06/0.114, allocations: 0 / 431.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009122/0.1149, allocations: 0.7388 MB / 432.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.115, allocations: 164.5 kB / 432.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.1151, allocations: 97.86 kB / 432.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1151, allocations: 29.7 kB / 432.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.1152, allocations: 85.12 kB / 432.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.1153, allocations: 87.28 kB / 432.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.1153, allocations: 41.77 kB / 432.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1155, allocations: 326.8 kB / 433.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.841e-05/0.1155, allocations: 80.34 kB / 433.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1157, allocations: 110.4 kB / 433.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.116, allocations: 421.3 kB / 433.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.116, allocations: 0 / 433.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003889/0.1164, allocations: 344.9 kB / 434.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.1165, allocations: 111.3 kB / 434.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1165, allocations: 8.094 kB / 434.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1165, allocations: 3.938 kB / 434.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.1165, allocations: 0 / 434.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1166, allocations: 0 / 434.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.1166, allocations: 24.17 kB / 434.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.1166, allocations: 12 kB / 434.3 MB, free: 12.91 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.0002793/0.1169, allocations: 295.7 kB / 434.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.117, allocations: 35.83 kB / 434.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.49e-05/0.117, allocations: 9.547 kB / 434.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.117, allocations: 0 / 434.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.117, allocations: 0 / 434.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.117, allocations: 0 / 434.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.1172, allocations: 237.4 kB / 434.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1172, allocations: 0 / 434.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1172, allocations: 0 / 434.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.1172, allocations: 7.938 kB / 434.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.1172, allocations: 15.98 kB / 434.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1173, allocations: 4 kB / 434.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1173, allocations: 0 / 434.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.1186, allocations: 1.248 MB / 436.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.1187, allocations: 112.8 kB / 436.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.1188, allocations: 71.89 kB / 436.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.007e-05/0.1189, allocations: 11.98 kB / 436.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.1189, allocations: 8 kB / 436.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.1189, allocations: 23.97 kB / 436.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.095e-05/0.119, allocations: 79.28 kB / 436.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.119, allocations: 0 / 436.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.1193, allocations: 91.92 kB / 436.6 MB, free: 10.56 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.0006403/0.12, allocations: 304.2 kB / 436.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.1211, allocations: 1.072 MB / 437.9 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1211, allocations: 0 / 437.9 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008201/0.1219, allocations: 0.8889 MB / 438.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.1221, allocations: 20 kB / 438.8 MB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006395/0.1227, allocations: 400.3 kB / 439.2 MB, free: 7.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.1231, allocations: 0.7245 MB / 439.9 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.628e-06/0.1231, allocations: 3.938 kB / 439.9 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.1231, allocations: 11.38 kB / 440 MB, free: 7.062 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1231, allocations: 0 / 440 MB, free: 7.062 MB / 366.1 MB Notification: Performance of Templates: time 0.006817/0.1299, allocations: 3.005 MB / 443 MB, free: 4.062 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/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.500552501529455]