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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 114.5 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 187 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.91 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1053, allocations: 46.62 MB / 375.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002831/0.1082, allocations: 1.229 MB / 376.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1093, allocations: 462.3 kB / 376.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.1093, allocations: 4 kB / 376.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.997e-05/0.1094, allocations: 0 / 376.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005295/0.11, allocations: 71.73 kB / 376.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.1102, allocations: 67.73 kB / 377 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1103, allocations: 47.91 kB / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.1104, allocations: 0 / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.327e-05/0.1104, allocations: 23.91 kB / 377 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.1105, allocations: 23.91 kB / 377.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1105, allocations: 0 / 377.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.1108, allocations: 127.8 kB / 377.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.1108, allocations: 27.92 kB / 377.2 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.1109, allocations: 55.59 kB / 377.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.1112, allocations: 171.5 kB / 377.4 MB, free: 2.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.1113, allocations: 4 kB / 377.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1113, allocations: 0 / 377.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.158e-06/0.1113, allocations: 4 kB / 377.4 MB, free: 2.258 MB / 318.1 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.0006856/0.112, allocations: 0.5645 MB / 378 MB, free: 1.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.112, allocations: 8.031 kB / 378 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.1122, allocations: 24.73 kB / 378 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1123, allocations: 176.3 kB / 378.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1124, allocations: 4.375 kB / 378.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.1124, allocations: 4.375 kB / 378.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.1127, allocations: 275.8 kB / 378.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1127, allocations: 192 / 378.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1127, allocations: 7.938 kB / 378.5 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1127, allocations: 0 / 378.5 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.1129, allocations: 151.9 kB / 378.6 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.1131, allocations: 202.3 kB / 378.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.1135, allocations: 493.2 kB / 379.3 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2409/0.3544, allocations: 467.9 kB / 379.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.3545, allocations: 4.219 kB / 379.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006525/0.3551, allocations: 478 kB / 380.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 2.354e-06/0.3552, allocations: 1.203 kB / 380.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.001086/0.3563, allocations: 0.7113 MB / 381 MB, free: 12.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/0.3564, allocations: 162 kB / 381.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.3565, allocations: 105.1 kB / 381.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3565, allocations: 30.17 kB / 381.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.3565, allocations: 81.73 kB / 381.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/0.3566, allocations: 85.89 kB / 381.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-05/0.3567, allocations: 47.11 kB / 381.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.3568, allocations: 324.8 kB / 381.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3569, allocations: 80.34 kB / 381.9 MB, free: 12.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3571, allocations: 111.1 kB / 382 MB, free: 12.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.3576, allocations: 418.7 kB / 382.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3576, allocations: 0.6562 kB / 382.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004583/0.3581, allocations: 348.5 kB / 382.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.3582, allocations: 115.1 kB / 382.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3582, allocations: 3.469 kB / 382.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.3583, allocations: 1.219 kB / 382.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.936e-06/0.3583, allocations: 2.109 kB / 382.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3583, allocations: 1.156 kB / 382.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.381e-05/0.3584, allocations: 29.36 kB / 382.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3584, allocations: 8.406 kB / 382.9 MB, free: 11.64 MB / 318.1 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.0002801/0.3587, allocations: 297.1 kB / 383.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.3588, allocations: 28.28 kB / 383.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.547e-05/0.3588, allocations: 7.906 kB / 383.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3588, allocations: 1.094 kB / 383.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3588, allocations: 1.969 kB / 383.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3588, allocations: 0.7031 kB / 383.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.359, allocations: 237 kB / 383.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.359, allocations: 0 / 383.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-06/0.359, allocations: 2.844 kB / 383.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.359, allocations: 1.812 kB / 383.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.3591, allocations: 24.7 kB / 383.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3591, allocations: 0.875 kB / 383.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3591, allocations: 1.031 kB / 383.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.3605, allocations: 1.232 MB / 384.7 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.3606, allocations: 91.64 kB / 384.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.3607, allocations: 68.58 kB / 384.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.3608, allocations: 8.812 kB / 384.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.3608, allocations: 17.83 kB / 384.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.3609, allocations: 17.83 kB / 384.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.319e-05/0.3609, allocations: 84.92 kB / 385 MB, free: 10.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3609, allocations: 0 / 385 MB, free: 10.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004159/0.3613, allocations: 88.62 kB / 385.1 MB, free: 10.64 MB / 318.1 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.0007032/0.362, allocations: 307 kB / 385.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.364, allocations: 2.138 MB / 387.5 MB, free: 9.301 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.364, allocations: 0 / 387.5 MB, free: 9.301 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.3658, allocations: 2.178 MB / 389.7 MB, free: 7.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.366, allocations: 23.33 kB / 389.7 MB, free: 7.977 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007009/0.3667, allocations: 401 kB / 390.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.367, allocations: 0.7265 MB / 390.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.519e-05/0.367, allocations: 0 / 390.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.367, allocations: 13 kB / 390.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of SimCode: time 8.52e-07/0.367, allocations: 0 / 390.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of Templates: time 0.008665/0.3757, allocations: 3.01 MB / 393.8 MB, free: 6.75 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches