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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.537/1.537, allocations: 207.6 MB / 236 MB, free: 9.992 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 55.91 kB / 348.5 MB, free: 9.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3282, allocations: 49.16 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002239/0.3305, allocations: 1.225 MB / 398.8 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000932/0.3314, allocations: 481 kB / 399.3 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.952e-05/0.3314, allocations: 4 kB / 399.3 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.3314, allocations: 1.516 kB / 399.3 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004857/0.3319, allocations: 75.42 kB / 399.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.3321, allocations: 77.69 kB / 399.5 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3322, allocations: 41.12 kB / 399.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.3322, allocations: 2.125 kB / 399.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.3323, allocations: 25.64 kB / 399.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.328e-05/0.3323, allocations: 19.7 kB / 399.5 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3323, allocations: 2.125 kB / 399.5 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.3327, allocations: 154.5 kB / 399.7 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.3327, allocations: 40.55 kB / 399.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.3328, allocations: 52.47 kB / 399.8 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.3331, allocations: 177.2 kB / 400 MB, free: 8.098 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3331, allocations: 0 / 400 MB, free: 8.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3331, allocations: 0 / 400 MB, free: 8.098 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3331, allocations: 0 / 400 MB, free: 8.098 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.0005531/0.3336, allocations: 0.4962 MB / 400.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3337, allocations: 18.14 kB / 400.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.3338, allocations: 21.53 kB / 400.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.668e-05/0.3339, allocations: 127.9 kB / 400.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3339, allocations: 7.125 kB / 400.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3339, allocations: 6.312 kB / 400.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.3342, allocations: 269.1 kB / 400.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.3343, allocations: 192 / 400.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3343, allocations: 6.812 kB / 400.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3343, allocations: 0 / 400.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.3344, allocations: 145.9 kB / 401 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.3346, allocations: 175.8 kB / 401.2 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3348, allocations: 172.8 kB / 401.4 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.335, allocations: 159 kB / 401.5 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.335, allocations: 1.062 kB / 401.5 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004531/0.3354, allocations: 476.1 kB / 402 MB, free: 6.785 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 9.12e-07/0.3354, allocations: 1.25 kB / 402 MB, free: 6.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008786/0.3363, allocations: 0.7433 MB / 402.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.3364, allocations: 158.9 kB / 402.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/0.3364, allocations: 107 kB / 403 MB, free: 6.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.3364, allocations: 27.17 kB / 403 MB, free: 6.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.005e-05/0.3365, allocations: 82.61 kB / 403.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.3365, allocations: 94.42 kB / 403.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.3365, allocations: 41.86 kB / 403.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.3366, allocations: 327.9 kB / 403.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.3367, allocations: 79.94 kB / 403.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.694e-05/0.3368, allocations: 121.1 kB / 403.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.3371, allocations: 413.7 kB / 404.2 MB, free: 5.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3371, allocations: 0 / 404.2 MB, free: 5.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000322/0.3374, allocations: 360.7 kB / 404.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.739e-05/0.3375, allocations: 115.8 kB / 404.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3375, allocations: 0 / 404.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3375, allocations: 0 / 404.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.031e-06/0.3375, allocations: 0.8438 kB / 404.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3375, allocations: 1.031 kB / 404.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.3376, allocations: 22.62 kB / 404.7 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.3376, allocations: 8.094 kB / 404.7 MB, free: 5.145 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.0002145/0.3378, allocations: 298.7 kB / 405 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.3379, allocations: 30.12 kB / 405 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.204e-05/0.3379, allocations: 6.734 kB / 405 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3379, allocations: 1.906 kB / 405 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3379, allocations: 4.703 kB / 405 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3379, allocations: 5.672 kB / 405 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.338, allocations: 208.5 kB / 405.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.338, allocations: 0 / 405.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-06/0.338, allocations: 1.375 kB / 405.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.338, allocations: 4.688 kB / 405.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.3381, allocations: 18.28 kB / 405.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3381, allocations: 5.312 kB / 405.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3381, allocations: 1.375 kB / 405.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.3393, allocations: 1.249 MB / 406.5 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.3393, allocations: 18 kB / 406.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3394, allocations: 70.28 kB / 406.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.3394, allocations: 9.625 kB / 406.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.3395, allocations: 11.08 kB / 406.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.3395, allocations: 17.34 kB / 406.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.195e-05/0.3395, allocations: 81.28 kB / 406.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3395, allocations: 0 / 406.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000341/0.3399, allocations: 96.78 kB / 406.8 MB, free: 4.234 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.0005727/0.3404, allocations: 306.3 kB / 407.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3415, allocations: 1.061 MB / 408.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3415, allocations: 1.281 kB / 408.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.3424, allocations: 0.899 MB / 409 MB, free: 3.469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.3426, allocations: 20.47 kB / 409.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006442/0.3432, allocations: 436.7 kB / 409.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.3434, allocations: 0.7269 MB / 410.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.37e-05/0.3434, allocations: 7.438 kB / 410.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3434, allocations: 1.281 kB / 410.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of Templates: time 0.005098/0.3485, allocations: 2.855 MB / 413.1 MB, free: 1.41 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins1/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: 8.179800198879093]