Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 180.7 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008901/0.00089, allocations: 107.9 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.000247, allocations: 4 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2188, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08982/0.3086, allocations: 76.32 MB / 477.8 MB, free: 4.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.3089, allocations: 64.47 kB / 477.9 MB, free: 4.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007998/0.3169, allocations: 2.995 MB / 480.9 MB, free: 1.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3169, allocations: 0 / 480.9 MB, free: 1.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3169, allocations: 4 kB / 480.9 MB, free: 1.125 MB / 346.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.0004545/0.3174, allocations: 0.5565 MB / 481.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3174, allocations: 12.03 kB / 481.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.3176, allocations: 23.78 kB / 481.5 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3177, allocations: 174.9 kB / 481.6 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3177, allocations: 4 kB / 481.6 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.3177, allocations: 4 kB / 481.6 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.318, allocations: 275.2 kB / 481.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.3181, allocations: 0 / 481.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3181, allocations: 0 / 481.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3181, allocations: 11.95 kB / 481.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3182, allocations: 147.9 kB / 482.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.3184, allocations: 206.4 kB / 482.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.3188, allocations: 493.2 kB / 482.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-06/0.3188, allocations: 0 / 482.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003907/0.3192, allocations: 488.1 kB / 483.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 1.162e-06/0.3192, allocations: 0 / 483.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008769/0.3201, allocations: 0.8933 MB / 484.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.3202, allocations: 160.5 kB / 484.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/0.3202, allocations: 96.95 kB / 484.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.3203, allocations: 25.7 kB / 484.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.3203, allocations: 89.2 kB / 484.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.3204, allocations: 90.69 kB / 484.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.3204, allocations: 4 kB / 484.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3205, allocations: 330.8 kB / 484.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.3206, allocations: 80.34 kB / 485 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-05/0.3207, allocations: 106.4 kB / 485.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3208, allocations: 200.4 kB / 485.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3208, allocations: 4.031 kB / 485.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000317/0.3212, allocations: 349 kB / 485.6 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/0.3212, allocations: 111.3 kB / 485.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3213, allocations: 3.938 kB / 485.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3213, allocations: 0 / 485.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.3213, allocations: 0 / 485.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3213, allocations: 7.922 kB / 485.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.3214, allocations: 23.75 kB / 485.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3214, allocations: 15.94 kB / 485.8 MB, free: 11.83 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002236/0.3216, allocations: 295.8 kB / 486.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.3217, allocations: 27.81 kB / 486.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.398e-05/0.3217, allocations: 5.562 kB / 486.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3217, allocations: 0 / 486.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3217, allocations: 4 kB / 486.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3217, allocations: 4 kB / 486.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.3219, allocations: 245.3 kB / 486.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3219, allocations: 0 / 486.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-06/0.3219, allocations: 7.984 kB / 486.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3219, allocations: 0 / 486.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.322, allocations: 19.98 kB / 486.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.322, allocations: 4 kB / 486.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.322, allocations: 4 kB / 486.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.3231, allocations: 1.238 MB / 487.6 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.3231, allocations: 96.86 kB / 487.7 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.3232, allocations: 71.91 kB / 487.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.71e-05/0.3233, allocations: 8 kB / 487.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.3233, allocations: 11.98 kB / 487.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.3234, allocations: 27.98 kB / 487.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.3234, allocations: 87.31 kB / 487.9 MB, free: 9.559 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3234, allocations: 0 / 487.9 MB, free: 9.559 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.3238, allocations: 115.8 kB / 488 MB, free: 9.445 MB / 362.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 (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.0005467/0.3244, allocations: 311.3 kB / 488.3 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.3259, allocations: 2.127 MB / 490.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3259, allocations: 0 / 490.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.3273, allocations: 2.182 MB / 492.6 MB, free: 4.812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.3274, allocations: 22.92 kB / 492.7 MB, free: 4.793 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000532/0.3279, allocations: 406.2 kB / 493.1 MB, free: 4.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.3282, allocations: 0.7286 MB / 493.8 MB, free: 3.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.335e-06/0.3282, allocations: 0 / 493.8 MB, free: 3.602 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.017e-05/0.3282, allocations: 7.438 kB / 493.8 MB, free: 3.594 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3282, allocations: 4 kB / 493.8 MB, free: 3.59 MB / 362.7 MB Notification: Performance of Templates: time 0.005468/0.3337, allocations: 3.281 MB / 497.1 MB, free: 320 kB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","../files/Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches