Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002365/0.002365, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.599/2.599, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001288/0.001288, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.533e-05/2.561e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09102/0.09107, allocations: 47.58 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3883/0.4794, allocations: 75.27 MB / 444.4 MB, free: 1.879 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.4797, allocations: 70.12 kB / 444.4 MB, free: 1.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01315/0.4929, allocations: 2.958 MB / 447.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.493, allocations: 0 / 447.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.493, allocations: 0 / 447.4 MB, free: 15.27 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.0006589/0.4936, allocations: 0.5514 MB / 447.9 MB, free: 14.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.4937, allocations: 12.02 kB / 448 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.4939, allocations: 22.56 kB / 448 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.4941, allocations: 174.9 kB / 448.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.4941, allocations: 8 kB / 448.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.4942, allocations: 7.953 kB / 448.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004814/0.4947, allocations: 280.5 kB / 448.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4947, allocations: 0 / 448.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.4947, allocations: 4 kB / 448.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.4948, allocations: 0 / 448.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.495, allocations: 142.5 kB / 448.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.4953, allocations: 217.8 kB / 448.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.4958, allocations: 496.2 kB / 449.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.4962, allocations: 466.3 kB / 449.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.4963, allocations: 0 / 449.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006599/0.4969, allocations: 490.3 kB / 450.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 1.814e-06/0.497, allocations: 0 / 450.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.000995/0.498, allocations: 0.5071 MB / 450.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.4981, allocations: 163.4 kB / 450.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.4982, allocations: 96.36 kB / 451 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.4982, allocations: 29.7 kB / 451 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.4983, allocations: 151.3 kB / 451.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.388e-05/0.4984, allocations: 95.91 kB / 451.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-06/0.4984, allocations: 0 / 451.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4986, allocations: 325.5 kB / 451.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.4987, allocations: 88.66 kB / 451.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.4989, allocations: 103.9 kB / 451.7 MB, free: 11.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.4991, allocations: 199.4 kB / 451.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4991, allocations: 0 / 451.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005122/0.4997, allocations: 341 kB / 452.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.4998, allocations: 114.3 kB / 452.4 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4998, allocations: 4 kB / 452.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4999, allocations: 0 / 452.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.459e-06/0.4999, allocations: 3.984 kB / 452.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.4999, allocations: 4 kB / 452.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.5, allocations: 19.75 kB / 452.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.5, allocations: 8 kB / 452.4 MB, free: 10.95 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.0003381/0.5004, allocations: 274.1 kB / 452.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.5005, allocations: 24 kB / 452.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.5005, allocations: 16.98 kB / 452.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.5005, allocations: 3.984 kB / 452.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5005, allocations: 0 / 452.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5006, allocations: 0 / 452.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.5008, allocations: 251.8 kB / 453 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5009, allocations: 0 / 453 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-06/0.5009, allocations: 2.5 kB / 453 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.5009, allocations: 0 / 453 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.501, allocations: 27.72 kB / 453 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.501, allocations: 7.891 kB / 453 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.501, allocations: 0 / 453 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.5029, allocations: 1.23 MB / 454.2 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.676e-05/0.5031, allocations: 100.8 kB / 454.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.5033, allocations: 75.86 kB / 454.4 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5034, allocations: 8 kB / 454.4 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.5035, allocations: 11.23 kB / 454.4 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.5036, allocations: 30.23 kB / 454.5 MB, free: 9.031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.631e-05/0.5036, allocations: 79.28 kB / 454.5 MB, free: 8.953 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5036, allocations: 0 / 454.5 MB, free: 8.953 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00055/0.5042, allocations: 110.7 kB / 454.7 MB, free: 8.848 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.0008489/0.5051, allocations: 323.2 kB / 455 MB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002587/0.5077, allocations: 2.113 MB / 457.1 MB, free: 6.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.5077, allocations: 0 / 457.1 MB, free: 6.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002544/0.5103, allocations: 2.186 MB / 459.3 MB, free: 4.527 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.5106, allocations: 18.5 kB / 459.3 MB, free: 4.512 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007666/0.5114, allocations: 346 kB / 459.6 MB, free: 4.141 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.5117, allocations: 0.7247 MB / 460.3 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.5117, allocations: 7.438 kB / 460.4 MB, free: 3.375 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5118, allocations: 0 / 460.4 MB, free: 3.375 MB / 330.7 MB Notification: Performance of Templates: time 0.008567/0.5203, allocations: 3.326 MB / 463.7 MB, free: 44 kB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches