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.001063/0.001063, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001074/0.001074, allocations: 169.9 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9805/0.9805, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.272e-06/1.272e-06, allocations: 0 / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.44e-05, allocations: 6.312 kB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001483/0.001497, allocations: 1.316 MB / 274.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006555/0.002152, allocations: 466.1 kB / 275.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.00218, allocations: 0 / 275.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.00221, allocations: 3.938 kB / 275.3 MB, free: 15.48 MB / 266.7 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.000377/0.002587, allocations: 79.59 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.002689, allocations: 67.69 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.278e-05/0.002762, allocations: 35.91 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.048e-05/0.002792, allocations: 11.97 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.059e-05/0.002833, allocations: 23.92 kB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.596e-05/0.002859, allocations: 15.97 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.00287, allocations: 4 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.003095, allocations: 159.6 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.00313, allocations: 35.88 kB / 275.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.003163, allocations: 35.91 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.003345, allocations: 191.2 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.003347, allocations: 4 kB / 275.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003347, allocations: 0 / 275.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.00335, allocations: 0 / 275.9 MB, free: 14.83 MB / 266.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.0003126/0.003663, allocations: 442.2 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/0.00369, allocations: 8.031 kB / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.003796, allocations: 28.92 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.696e-05/0.003873, allocations: 129.6 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.003883, allocations: 8.312 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.00389, allocations: 4.375 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.004052, allocations: 250.2 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-06/0.004057, allocations: 192 / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.004064, allocations: 384 / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.004069, allocations: 4.375 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.319e-05/0.004152, allocations: 170.1 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.44e-05/0.004226, allocations: 92.36 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.00433, allocations: 196.6 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.813e-05/0.004408, allocations: 165.1 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-06/0.004411, allocations: 0 / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.004642, allocations: 461.8 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 7.52e-07/0.004643, allocations: 0 / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.0004178/0.005061, allocations: 0.6704 MB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.005125, allocations: 160.5 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.421e-05/0.005179, allocations: 102.7 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.005189, allocations: 33.64 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.086e-05/0.00521, allocations: 81.14 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.005255, allocations: 91.19 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.005288, allocations: 41.66 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.005358, allocations: 330.7 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.005419, allocations: 142.5 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.535e-05/0.005484, allocations: 153.9 kB / 279.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.00563, allocations: 315.1 kB / 279.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005632, allocations: 0 / 279.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002137/0.005846, allocations: 387.2 kB / 280.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.45e-05/0.0059, allocations: 107.3 kB / 280.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.005904, allocations: 0 / 280.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.005912, allocations: 0 / 280.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.005914, allocations: 0 / 280.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.005916, allocations: 0 / 280.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.005947, allocations: 23.84 kB / 280.4 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.00596, allocations: 12.03 kB / 280.4 MB, free: 9.859 MB / 266.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.0001368/0.006097, allocations: 270.5 kB / 280.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.00613, allocations: 44.28 kB / 280.7 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.013e-05/0.00614, allocations: 9.656 kB / 280.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.006142, allocations: 0 / 280.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.00615, allocations: 7.984 kB / 280.8 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.006153, allocations: 0 / 280.8 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.346e-05/0.006226, allocations: 105.6 kB / 280.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006227, allocations: 0 / 280.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.006227, allocations: 0 / 280.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.006228, allocations: 0 / 280.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.006245, allocations: 19.98 kB / 280.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.006246, allocations: 0 / 280.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.006247, allocations: 4 kB / 280.9 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.006622, allocations: 0.6588 MB / 281.5 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.006633, allocations: 19.78 kB / 281.6 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.006692, allocations: 67.88 kB / 281.6 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.85e-05/0.00672, allocations: 8 kB / 281.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.006743, allocations: 11.98 kB / 281.6 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.006758, allocations: 11.98 kB / 281.7 MB, free: 8.543 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.182e-05/0.00677, allocations: 12.86 kB / 281.7 MB, free: 8.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00677, allocations: 0 / 281.7 MB, free: 8.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.006947, allocations: 83.88 kB / 281.8 MB, free: 8.445 MB / 266.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.0004095/0.007356, allocations: 324.9 kB / 282.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003552/0.007712, allocations: 0.6078 MB / 282.7 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.007715, allocations: 4 kB / 282.7 MB, free: 7.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.007906, allocations: 426.8 kB / 283.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.693e-05/0.007993, allocations: 38.88 kB / 283.1 MB, free: 7.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.008333, allocations: 423.6 kB / 283.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.704e-05/0.00837, allocations: 76.33 kB / 283.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.482e-06/0.008377, allocations: 0 / 283.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.00851, allocations: 123.3 kB / 283.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of SimCode: time 4.9e-07/0.00851, allocations: 0 / 283.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of Templates: time 0.004254/0.01276, allocations: 3.358 MB / 287.1 MB, free: 3.027 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.422191330231726]