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.001486/0.001486, allocations: 187 kB / 17.91 MB, free: 3.855 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.21/1.21, allocations: 205.1 MB / 223.7 MB, free: 8.484 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.0008608/0.0008608, allocations: 99.97 kB / 271.2 MB, free: 8.453 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007308/0.0007308, allocations: 43.94 kB / 327.2 MB, free: 344 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1818, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002223/0.1841, allocations: 1.295 MB / 375.1 MB, free: 44.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.1849, allocations: 479.4 kB / 375.6 MB, free: 44.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.185, allocations: 0.9688 kB / 375.6 MB, free: 44.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.185, allocations: 0 / 375.6 MB, free: 44.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.1854, allocations: 59.03 kB / 375.6 MB, free: 44.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.1855, allocations: 67.47 kB / 375.7 MB, free: 44.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.1856, allocations: 30.95 kB / 375.7 MB, free: 44.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.1856, allocations: 6.734 kB / 375.7 MB, free: 44.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.046e-05/0.1856, allocations: 20.55 kB / 375.8 MB, free: 44.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.112e-05/0.1857, allocations: 19.61 kB / 375.8 MB, free: 44.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1857, allocations: 2.125 kB / 375.8 MB, free: 44.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.1859, allocations: 116.3 kB / 375.9 MB, free: 44.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.1859, allocations: 35.38 kB / 375.9 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.186, allocations: 46.94 kB / 376 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1862, allocations: 172 kB / 376.1 MB, free: 44.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1862, allocations: 4 kB / 376.1 MB, free: 44.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1862, allocations: 1.125 kB / 376.1 MB, free: 44.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.1862, allocations: 0 / 376.1 MB, free: 44.12 MB / 298.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.0003947/0.1866, allocations: 0.5666 MB / 376.7 MB, free: 43.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.1866, allocations: 9.531 kB / 376.7 MB, free: 43.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.1868, allocations: 24.17 kB / 376.7 MB, free: 43.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.192e-05/0.1868, allocations: 176.6 kB / 376.9 MB, free: 43.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1869, allocations: 6.625 kB / 376.9 MB, free: 43.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1869, allocations: 4.25 kB / 376.9 MB, free: 43.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.1871, allocations: 286.7 kB / 377.2 MB, free: 43.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1871, allocations: 192 / 377.2 MB, free: 43.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1872, allocations: 5.969 kB / 377.2 MB, free: 43.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1872, allocations: 1.031 kB / 377.2 MB, free: 43.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1873, allocations: 150.9 kB / 377.4 MB, free: 43.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.1874, allocations: 197.4 kB / 377.6 MB, free: 42.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.1877, allocations: 497 kB / 378 MB, free: 42.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.1879, allocations: 465.1 kB / 378.5 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-06/0.1879, allocations: 0 / 378.5 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003226/0.1882, allocations: 486.2 kB / 379 MB, free: 41.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 9.62e-07/0.1883, allocations: 7.938 kB / 379 MB, free: 41.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006813/0.1889, allocations: 0.7171 MB / 379.7 MB, free: 41.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.189, allocations: 158.3 kB / 379.8 MB, free: 41.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.903e-05/0.1891, allocations: 107.6 kB / 380 MB, free: 41.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.1891, allocations: 26.95 kB / 380 MB, free: 41.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.519e-05/0.1891, allocations: 86.27 kB / 380.1 MB, free: 41.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1891, allocations: 82.44 kB / 380.1 MB, free: 41.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.1892, allocations: 38.33 kB / 380.2 MB, free: 41.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.026e-05/0.1892, allocations: 331.7 kB / 380.5 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/0.1893, allocations: 85.69 kB / 380.6 MB, free: 40.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.1894, allocations: 105 kB / 380.7 MB, free: 40.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.1896, allocations: 422 kB / 381.1 MB, free: 40.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1896, allocations: 0 / 381.1 MB, free: 40.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002627/0.1899, allocations: 346 kB / 381.4 MB, free: 40.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.207e-05/0.19, allocations: 113.5 kB / 381.6 MB, free: 40.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.19, allocations: 1.406 kB / 381.6 MB, free: 40.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.19, allocations: 4 kB / 381.6 MB, free: 40.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/0.19, allocations: 1.188 kB / 381.6 MB, free: 40.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.19, allocations: 1.531 kB / 381.6 MB, free: 40.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.1901, allocations: 21 kB / 381.6 MB, free: 40.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.1901, allocations: 12.59 kB / 381.6 MB, free: 40.14 MB / 298.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 (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],r1024,r128,r64,$whenCondition2,iImpure,rImpure,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.1903, allocations: 296.8 kB / 381.9 MB, free: 39.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.1903, allocations: 29.09 kB / 381.9 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.055e-06/0.1903, allocations: 6.562 kB / 381.9 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.1903, allocations: 0.9062 kB / 381.9 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1903, allocations: 1.438 kB / 381.9 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1903, allocations: 0 / 381.9 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.1904, allocations: 240.5 kB / 382.2 MB, free: 39.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1905, allocations: 4 kB / 382.2 MB, free: 39.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-07/0.1905, allocations: 1.281 kB / 382.2 MB, free: 39.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1905, allocations: 3.938 kB / 382.2 MB, free: 39.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.1905, allocations: 16.28 kB / 382.2 MB, free: 39.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1905, allocations: 7.922 kB / 382.2 MB, free: 39.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1905, allocations: 1.219 kB / 382.2 MB, free: 39.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.1918, allocations: 2.04 MB / 384.2 MB, free: 38.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.1918, allocations: 101.1 kB / 384.3 MB, free: 38.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.1919, allocations: 67.66 kB / 384.4 MB, free: 38.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.93e-05/0.1919, allocations: 8.969 kB / 384.4 MB, free: 38.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.192, allocations: 12.45 kB / 384.4 MB, free: 38.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.192, allocations: 15.84 kB / 384.4 MB, free: 38.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.898e-05/0.192, allocations: 82.7 kB / 384.5 MB, free: 38.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.192, allocations: 0 / 384.5 MB, free: 38.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003849/0.1924, allocations: 91.47 kB / 384.6 MB, free: 38.14 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004028/0.1928, allocations: 314.6 kB / 384.9 MB, free: 37.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009018/0.1938, allocations: 2.123 MB / 387 MB, free: 35.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1938, allocations: 0 / 387 MB, free: 35.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.1946, allocations: 2.19 MB / 389.2 MB, free: 33.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.1948, allocations: 20 kB / 389.2 MB, free: 33.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.1953, allocations: 0.6542 MB / 389.9 MB, free: 32.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.1954, allocations: 0.7364 MB / 390.6 MB, free: 32.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.745e-06/0.1954, allocations: 0 / 390.6 MB, free: 32.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-06/0.1954, allocations: 7.438 kB / 390.6 MB, free: 32.07 MB / 298.7 MB Notification: Performance of SimCode: time 1.91e-07/0.1954, allocations: 0 / 390.6 MB, free: 32.07 MB / 298.7 MB Notification: Performance of Templates: time 0.004115/0.1996, allocations: 3.01 MB / 393.6 MB, free: 29.06 MB / 298.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@2/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