Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001649/0.001649, allocations: 74.09 kB / 21.25 MB, free: 0.5391 MB / 14.72 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.002008/0.002008, allocations: 159.5 kB / 24.51 MB, free: 3.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 46.91 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.09837, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002448/0.1008, allocations: 1.233 MB / 380.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1019, allocations: 456.9 kB / 380.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.1019, allocations: 4 kB / 380.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.102, allocations: 3.938 kB / 380.6 MB, free: 13.96 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.0005098/0.1025, allocations: 71.78 kB / 380.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.1026, allocations: 67.75 kB / 380.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.1027, allocations: 51.83 kB / 380.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.1028, allocations: 4 kB / 380.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.1028, allocations: 19.91 kB / 380.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.206e-05/0.1029, allocations: 19.92 kB / 380.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1029, allocations: 4 kB / 380.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.1032, allocations: 147.7 kB / 381 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.1032, allocations: 35.92 kB / 381 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.382e-05/0.1033, allocations: 47.72 kB / 381 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.1036, allocations: 183.2 kB / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1036, allocations: 4 kB / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1036, allocations: 0 / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1036, allocations: 0 / 381.2 MB, free: 13.32 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.0005799/0.1042, allocations: 476.8 kB / 381.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1042, allocations: 8.031 kB / 381.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.1043, allocations: 24.83 kB / 381.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1045, allocations: 126.3 kB / 381.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1045, allocations: 8.375 kB / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.1045, allocations: 4.375 kB / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.1049, allocations: 403.1 kB / 382.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1049, allocations: 4.125 kB / 382.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.105, allocations: 3.938 kB / 382.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.105, allocations: 4 kB / 382.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.1052, allocations: 259.2 kB / 382.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1054, allocations: 137.8 kB / 382.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.1057, allocations: 296.5 kB / 382.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.106, allocations: 277 kB / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.106, allocations: 4 kB / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000599/0.1066, allocations: 0.5703 MB / 383.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.152e-06/0.1066, allocations: 0 / 383.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.001168/0.1077, allocations: 0.9798 MB / 384.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/0.1078, allocations: 156.5 kB / 384.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.068e-05/0.1079, allocations: 101.8 kB / 385 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1079, allocations: 33.64 kB / 385.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.108, allocations: 85.14 kB / 385.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.1081, allocations: 83.28 kB / 385.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.1081, allocations: 41.7 kB / 385.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1083, allocations: 334.9 kB / 385.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.1085, allocations: 195.7 kB / 385.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.1087, allocations: 229.8 kB / 386 MB, free: 8.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.1091, allocations: 469.3 kB / 386.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1091, allocations: 0 / 386.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005072/0.1096, allocations: 496.1 kB / 386.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.1097, allocations: 107.3 kB / 387.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1097, allocations: 0 / 387.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1097, allocations: 3.938 kB / 387.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1097, allocations: 0 / 387.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1097, allocations: 8.031 kB / 387.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.219e-05/0.1098, allocations: 27.83 kB / 387.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1098, allocations: 8 kB / 387.1 MB, free: 6.992 MB / 350.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.0002705/0.1101, allocations: 275.8 kB / 387.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.1101, allocations: 27.91 kB / 387.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.1101, allocations: 13.58 kB / 387.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1101, allocations: 0 / 387.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1101, allocations: 0 / 387.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1102, allocations: 4 kB / 387.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.1103, allocations: 161 kB / 387.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1103, allocations: 0 / 387.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.1103, allocations: 336 / 387.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1103, allocations: 4 kB / 387.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.1103, allocations: 15.98 kB / 387.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1103, allocations: 11.94 kB / 387.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1103, allocations: 0 / 387.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.1114, allocations: 0.9117 MB / 388.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.1114, allocations: 19.8 kB / 388.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.1115, allocations: 67.94 kB / 388.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/0.1116, allocations: 11.94 kB / 388.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.1116, allocations: 11.98 kB / 388.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.1117, allocations: 27.92 kB / 388.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.309e-05/0.1117, allocations: 83.22 kB / 388.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1117, allocations: 0 / 388.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.1121, allocations: 91.92 kB / 388.8 MB, free: 5.164 MB / 350.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.000609/0.1127, allocations: 312.7 kB / 389.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009178/0.1136, allocations: 0.8684 MB / 390 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1136, allocations: 0 / 390 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005115/0.1141, allocations: 0.5331 MB / 390.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.1143, allocations: 20 kB / 390.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/0.115, allocations: 0.5074 MB / 391.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.1151, allocations: 110.1 kB / 391.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.584e-06/0.1151, allocations: 0 / 391.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.1151, allocations: 8.5 kB / 391.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1151, allocations: 0 / 391.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of Templates: time 0.006516/0.1216, allocations: 3.137 MB / 394.3 MB, free: 15.58 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.278740592999384]