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.001322/0.001322, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 85.77 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.807e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 50.42 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.4477, allocations: 75.57 MB / 463 MB, free: 3.258 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.4479, allocations: 65.98 kB / 463.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008067/0.456, allocations: 2.965 MB / 466.1 MB, free: 244 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.456, allocations: 4 kB / 466.1 MB, free: 240 kB / 330.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.4561, allocations: 0 / 466.1 MB, free: 240 kB / 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.0006571/0.4567, allocations: 0.5524 MB / 466.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.4568, allocations: 8.031 kB / 466.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.457, allocations: 27.75 kB / 466.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.4572, allocations: 182.9 kB / 466.8 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.4572, allocations: 0 / 466.8 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.4572, allocations: 8 kB / 466.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001872/0.4574, allocations: 136 kB / 467 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.4578, allocations: 271.2 kB / 467.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.4578, allocations: 3.938 kB / 467.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.4578, allocations: 7.953 kB / 467.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.4578, allocations: 0 / 467.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.458, allocations: 178.8 kB / 467.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.4584, allocations: 489.2 kB / 467.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.4588, allocations: 461.7 kB / 468.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.4588, allocations: 0 / 468.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00044/0.4593, allocations: 480.8 kB / 468.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 1.072e-06/0.4593, allocations: 0 / 468.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006397/0.4599, allocations: 397.3 kB / 469.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.46, allocations: 164.4 kB / 469.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.4601, allocations: 100.9 kB / 469.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.4601, allocations: 25.7 kB / 469.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.4602, allocations: 84.92 kB / 469.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.681e-05/0.4603, allocations: 86.83 kB / 469.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.4603, allocations: 4 kB / 469.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4604, allocations: 330.8 kB / 470 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.389e-05/0.4605, allocations: 80.34 kB / 470.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.902e-05/0.4606, allocations: 110.2 kB / 470.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.4608, allocations: 103.9 kB / 470.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4609, allocations: 0 / 470.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003538/0.4612, allocations: 249.3 kB / 470.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.845e-05/0.4613, allocations: 107.4 kB / 470.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.4613, allocations: 4 kB / 470.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4614, allocations: 0 / 470.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.4614, allocations: 0 / 470.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4614, allocations: 3.984 kB / 470.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.751e-05/0.4614, allocations: 23.75 kB / 470.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.4615, allocations: 8 kB / 470.7 MB, free: 11.33 MB / 346.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.0002441/0.4617, allocations: 283.3 kB / 470.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.4618, allocations: 23.81 kB / 471 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.4618, allocations: 5.969 kB / 471 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4618, allocations: 0 / 471 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4618, allocations: 4 kB / 471 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4618, allocations: 192 / 471 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.462, allocations: 213.8 kB / 471.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.462, allocations: 0 / 471.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-06/0.4621, allocations: 4 kB / 471.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.4621, allocations: 3.984 kB / 471.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.4621, allocations: 19.98 kB / 471.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4621, allocations: 0 / 471.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.4621, allocations: 7.984 kB / 471.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007715/0.4629, allocations: 0.5863 MB / 471.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.463, allocations: 96.86 kB / 471.9 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.4631, allocations: 71.91 kB / 472 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.524e-05/0.4632, allocations: 8 kB / 472 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.4632, allocations: 15.98 kB / 472 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.4633, allocations: 27.98 kB / 472 MB, free: 9.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.239e-05/0.4633, allocations: 75.28 kB / 472.1 MB, free: 9.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4633, allocations: 0 / 472.1 MB, free: 9.801 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003969/0.4638, allocations: 119.9 kB / 472.2 MB, free: 9.684 MB / 346.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.0006545/0.4644, allocations: 314.5 kB / 472.5 MB, free: 9.395 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.4663, allocations: 2.092 MB / 474.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4663, allocations: 0 / 474.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.4681, allocations: 2.174 MB / 476.8 MB, free: 5.078 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.4682, allocations: 16.02 kB / 476.8 MB, free: 5.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.4687, allocations: 290.4 kB / 477.1 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.469, allocations: 0.7322 MB / 477.8 MB, free: 3.984 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.025e-05/0.4691, allocations: 4 kB / 477.8 MB, free: 3.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.162e-05/0.4691, allocations: 7.438 kB / 477.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4691, allocations: 4 kB / 477.8 MB, free: 3.969 MB / 346.7 MB Notification: Performance of Templates: time 0.00627/0.4754, allocations: 3.286 MB / 481.1 MB, free: 0.6875 MB / 346.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