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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008857/0.0008858, allocations: 78.73 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.889e-05, allocations: 7.984 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.09995, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3068/0.4067, allocations: 75.28 MB / 445.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001704/0.407, allocations: 68.08 kB / 445.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007457/0.4144, allocations: 2.961 MB / 448.3 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4144, allocations: 0 / 448.3 MB, free: 15.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4145, allocations: 0 / 448.3 MB, free: 15.33 MB / 330.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.0004517/0.4149, allocations: 0.5474 MB / 448.9 MB, free: 14.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.415, allocations: 8.031 kB / 448.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.4151, allocations: 19.81 kB / 448.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.4152, allocations: 186.9 kB / 449.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.4153, allocations: 4 kB / 449.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.4153, allocations: 11.7 kB / 449.1 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.4156, allocations: 272.6 kB / 449.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.4156, allocations: 3.984 kB / 449.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.4156, allocations: 4 kB / 449.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4156, allocations: 0 / 449.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.4158, allocations: 145.5 kB / 449.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.416, allocations: 214 kB / 449.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.4163, allocations: 498 kB / 450.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.4166, allocations: 471.9 kB / 450.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.016e-06/0.4166, allocations: 3.984 kB / 450.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/0.417, allocations: 484.6 kB / 451.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 1.082e-06/0.417, allocations: 0 / 451.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.000611/0.4176, allocations: 0.5055 MB / 451.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.4177, allocations: 159.9 kB / 451.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/0.4178, allocations: 92.38 kB / 451.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.4178, allocations: 29.7 kB / 451.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.4179, allocations: 88.92 kB / 452 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/0.418, allocations: 91.53 kB / 452.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.418, allocations: 0 / 452.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4181, allocations: 337.6 kB / 452.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.4182, allocations: 78.8 kB / 452.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.074e-05/0.4183, allocations: 107.4 kB / 452.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.4184, allocations: 197.6 kB / 452.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4185, allocations: 4 kB / 452.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002955/0.4188, allocations: 342.6 kB / 453.1 MB, free: 11.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-05/0.4189, allocations: 114.7 kB / 453.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4189, allocations: 3.562 kB / 453.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4189, allocations: 0 / 453.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.4189, allocations: 4 kB / 453.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.4189, allocations: 0 / 453.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.419, allocations: 15.84 kB / 453.3 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.419, allocations: 8 kB / 453.3 MB, free: 11.07 MB / 330.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 ($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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.4192, allocations: 278.1 kB / 453.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.4193, allocations: 27.81 kB / 453.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.693e-05/0.4193, allocations: 13.28 kB / 453.6 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.4193, allocations: 0 / 453.6 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4193, allocations: 0 / 453.6 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4193, allocations: 4 kB / 453.6 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.4195, allocations: 251.2 kB / 453.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4195, allocations: 0 / 453.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-06/0.4195, allocations: 4 kB / 453.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4195, allocations: 0 / 453.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.4196, allocations: 23.66 kB / 453.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.4196, allocations: 7.891 kB / 453.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4196, allocations: 4 kB / 453.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.4207, allocations: 1.234 MB / 455.1 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.4208, allocations: 96.8 kB / 455.2 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.4209, allocations: 71.88 kB / 455.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.33e-05/0.421, allocations: 8 kB / 455.3 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.421, allocations: 15.98 kB / 455.3 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.4211, allocations: 23.98 kB / 455.3 MB, free: 9.098 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.336e-05/0.4211, allocations: 87.44 kB / 455.4 MB, free: 9.012 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4211, allocations: 4.031 kB / 455.4 MB, free: 9.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.4215, allocations: 107.9 kB / 455.5 MB, free: 8.902 MB / 330.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005302/0.422, allocations: 311.8 kB / 455.8 MB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.4237, allocations: 2.123 MB / 458 MB, free: 6.449 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4237, allocations: 0 / 458 MB, free: 6.449 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.4252, allocations: 2.178 MB / 460.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.4254, allocations: 14.75 kB / 460.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.4259, allocations: 316 kB / 460.5 MB, free: 3.898 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.4262, allocations: 0.7247 MB / 461.2 MB, free: 3.141 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.237e-05/0.4262, allocations: 4 kB / 461.2 MB, free: 3.137 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/0.4262, allocations: 7.438 kB / 461.2 MB, free: 3.129 MB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4262, allocations: 4 kB / 461.2 MB, free: 3.125 MB / 330.7 MB Notification: Performance of Templates: time 0.005816/0.432, allocations: 3.293 MB / 464.5 MB, free: 15.82 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches