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.001631/0.001631, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.701/1.701, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.001003/0.001003, allocations: 97.64 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002796, allocations: 8 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2685, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09835/0.3669, allocations: 75.38 MB / 451.2 MB, free: 5.305 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.3672, allocations: 63.97 kB / 451.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007855/0.375, allocations: 2.973 MB / 454.2 MB, free: 2.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3751, allocations: 4 kB / 454.2 MB, free: 2.262 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3751, allocations: 0 / 454.2 MB, free: 2.262 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.0005577/0.3756, allocations: 0.5643 MB / 454.8 MB, free: 1.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3757, allocations: 8.031 kB / 454.8 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.3758, allocations: 23.8 kB / 454.8 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.376, allocations: 174.9 kB / 455 MB, free: 1.395 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.376, allocations: 4 kB / 455 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.376, allocations: 7.953 kB / 455 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.3764, allocations: 287.1 kB / 455.3 MB, free: 1.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.3764, allocations: 0 / 455.3 MB, free: 1.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3764, allocations: 4 kB / 455.3 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3764, allocations: 3.984 kB / 455.3 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.3766, allocations: 151.7 kB / 455.4 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.3768, allocations: 206.4 kB / 455.6 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.3772, allocations: 0.4894 MB / 456.1 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.3772, allocations: 0 / 456.1 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/0.3776, allocations: 486.9 kB / 456.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 9.72e-07/0.3777, allocations: 0 / 456.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.001036/0.3787, allocations: 0.8855 MB / 457.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.3788, allocations: 160.6 kB / 457.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.3789, allocations: 96.98 kB / 457.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.3789, allocations: 29.7 kB / 457.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.379, allocations: 81.14 kB / 457.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.3791, allocations: 86.75 kB / 457.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.3791, allocations: 0 / 457.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3792, allocations: 334.8 kB / 458.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.3793, allocations: 76.36 kB / 458.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.765e-05/0.3794, allocations: 114.4 kB / 458.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.3796, allocations: 208.3 kB / 458.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3796, allocations: 0 / 458.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003422/0.38, allocations: 340.7 kB / 459 MB, free: 13.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.3801, allocations: 111.3 kB / 459.1 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3801, allocations: 3.953 kB / 459.1 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3801, allocations: 4 kB / 459.1 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.3801, allocations: 0 / 459.1 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3801, allocations: 3.938 kB / 459.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.3802, allocations: 27.84 kB / 459.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.3802, allocations: 8 kB / 459.1 MB, free: 12.96 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 () * 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.0002589/0.3805, allocations: 295.7 kB / 459.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.3806, allocations: 23.81 kB / 459.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.3806, allocations: 9.562 kB / 459.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3806, allocations: 3.953 kB / 459.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3806, allocations: 0 / 459.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3806, allocations: 0 / 459.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.3808, allocations: 249.4 kB / 459.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3808, allocations: 0 / 459.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-06/0.3808, allocations: 3.938 kB / 459.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3808, allocations: 0 / 459.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/0.3809, allocations: 23.97 kB / 459.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3809, allocations: 4 kB / 459.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.3809, allocations: 3.953 kB / 459.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.3821, allocations: 1.234 MB / 461 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.3822, allocations: 100.8 kB / 461.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.3823, allocations: 75.91 kB / 461.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.665e-05/0.3824, allocations: 12.28 kB / 461.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3824, allocations: 16.02 kB / 461.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.3825, allocations: 23.98 kB / 461.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.3825, allocations: 83.27 kB / 461.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.414e-06/0.3826, allocations: 0 / 461.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.3829, allocations: 111.8 kB / 461.4 MB, free: 10.57 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) * 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.0005701/0.3835, allocations: 308.3 kB / 461.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.3852, allocations: 2.123 MB / 463.8 MB, free: 8.141 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3853, allocations: 0 / 463.8 MB, free: 8.141 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.3869, allocations: 2.182 MB / 466 MB, free: 5.934 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.3871, allocations: 25.8 kB / 466 MB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.3877, allocations: 400.2 kB / 466.4 MB, free: 5.492 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.388, allocations: 0.7325 MB / 467.1 MB, free: 4.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.268e-05/0.388, allocations: 4 kB / 467.1 MB, free: 4.727 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.3881, allocations: 7.438 kB / 467.2 MB, free: 4.719 MB / 346.7 MB Notification: Performance of SimCode: time 3.9e-07/0.3881, allocations: 0 / 467.2 MB, free: 4.719 MB / 346.7 MB Notification: Performance of Templates: time 0.006161/0.3942, allocations: 3.286 MB / 470.4 MB, free: 1.434 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