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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003193/0.003193, allocations: 189 kB / 22.93 MB, free: 5.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] 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=5041,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=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "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.001686/0.001686, allocations: 54.11 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3423, allocations: 49.12 MB / 394.5 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002189/0.3444, allocations: 1.24 MB / 395.8 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008587/0.3453, allocations: 473.6 kB / 396.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.3453, allocations: 1.188 kB / 396.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.3454, allocations: 4.875 kB / 396.2 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.3458, allocations: 70.42 kB / 396.3 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.3459, allocations: 73.81 kB / 396.4 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.986e-05/0.346, allocations: 41.08 kB / 396.4 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.3461, allocations: 5.797 kB / 396.4 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/0.3461, allocations: 21.38 kB / 396.4 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.3461, allocations: 24.77 kB / 396.5 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.3461, allocations: 1.312 kB / 396.5 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.3464, allocations: 125.7 kB / 396.6 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.3465, allocations: 33 kB / 396.6 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.3465, allocations: 51.45 kB / 396.7 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.3468, allocations: 178.2 kB / 396.8 MB, free: 8.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3468, allocations: 0 / 396.8 MB, free: 8.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3468, allocations: 0 / 396.8 MB, free: 8.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3468, allocations: 0 / 396.8 MB, free: 8.055 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.0005213/0.3473, allocations: 0.5785 MB / 397.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3474, allocations: 9.625 kB / 397.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.3475, allocations: 25.23 kB / 397.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.329e-05/0.3476, allocations: 179 kB / 397.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3476, allocations: 6.969 kB / 397.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.3476, allocations: 4.25 kB / 397.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.348, allocations: 277.3 kB / 397.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.348, allocations: 4.188 kB / 397.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.348, allocations: 7.562 kB / 397.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.348, allocations: 0.6094 kB / 397.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.3481, allocations: 146.3 kB / 398.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.3483, allocations: 196.1 kB / 398.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.3485, allocations: 177.1 kB / 398.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.3486, allocations: 158.6 kB / 398.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.3486, allocations: 0 / 398.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004048/0.349, allocations: 480.8 kB / 399 MB, free: 6.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.052e-06/0.349, allocations: 0 / 399 MB, free: 6.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.0007951/0.3498, allocations: 0.7394 MB / 399.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.3499, allocations: 164.4 kB / 399.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.3499, allocations: 100.8 kB / 400 MB, free: 6.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.3499, allocations: 27.8 kB / 400.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.3499, allocations: 87.67 kB / 400.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.35, allocations: 95.22 kB / 400.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.35, allocations: 39.44 kB / 400.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.3501, allocations: 324.6 kB / 400.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.3502, allocations: 84.58 kB / 400.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3503, allocations: 113.1 kB / 400.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.3506, allocations: 426.2 kB / 401.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3506, allocations: 0 / 401.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003058/0.3509, allocations: 348.7 kB / 401.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.481e-05/0.351, allocations: 116.9 kB / 401.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.351, allocations: 0 / 401.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.351, allocations: 1.812 kB / 401.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.351, allocations: 1.125 kB / 401.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.351, allocations: 4.094 kB / 401.7 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.3511, allocations: 23.89 kB / 401.7 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.3511, allocations: 7.312 kB / 401.7 MB, free: 4.898 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.0002378/0.3513, allocations: 296.3 kB / 402 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.3514, allocations: 29.92 kB / 402 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.205e-05/0.3514, allocations: 6.266 kB / 402 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3514, allocations: 1.438 kB / 402 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3514, allocations: 0.75 kB / 402 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3514, allocations: 1.719 kB / 402 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.3516, allocations: 240.4 kB / 402.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3516, allocations: 1.344 kB / 402.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.3516, allocations: 0 / 402.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3516, allocations: 4.875 kB / 402.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.3516, allocations: 22.75 kB / 402.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3516, allocations: 5.562 kB / 402.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3516, allocations: 0 / 402.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.3528, allocations: 1.251 MB / 403.6 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.3528, allocations: 94.86 kB / 403.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.3529, allocations: 72.58 kB / 403.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.198e-05/0.353, allocations: 10.55 kB / 403.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.353, allocations: 14.61 kB / 403.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.353, allocations: 18.17 kB / 403.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.272e-05/0.3531, allocations: 79.66 kB / 403.8 MB, free: 3.863 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3531, allocations: 1.469 kB / 403.8 MB, free: 3.863 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.3534, allocations: 93.03 kB / 403.9 MB, free: 3.852 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.0005789/0.354, allocations: 302 kB / 404.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.355, allocations: 1.078 MB / 405.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.355, allocations: 0 / 405.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007991/0.3558, allocations: 0.891 MB / 406.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.356, allocations: 27.22 kB / 406.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006098/0.3566, allocations: 409.6 kB / 406.6 MB, free: 2.883 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.3567, allocations: 0.7223 MB / 407.3 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.016e-05/0.3568, allocations: 1.906 kB / 407.3 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.179e-05/0.3568, allocations: 7.438 kB / 407.4 MB, free: 2.176 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3568, allocations: 0 / 407.4 MB, free: 2.176 MB / 318.1 MB Notification: Performance of Templates: time 0.006236/0.363, allocations: 3.07 MB / 410.4 MB, free: 1.094 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.838171469047666]