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.001425/0.001425, allocations: 107.6 kB / 21.18 MB, free: 452 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.001775/0.001775, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.545/1.545, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.002247/0.002247, allocations: 55.92 kB / 347.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.348, allocations: 49.16 MB / 396.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002432/0.3504, allocations: 1.234 MB / 398.1 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009619/0.3514, allocations: 443.9 kB / 398.5 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.3514, allocations: 0 / 398.5 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.451e-05/0.3514, allocations: 5.875 kB / 398.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.3519, allocations: 84.34 kB / 398.6 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.3521, allocations: 61.73 kB / 398.7 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.785e-05/0.3522, allocations: 45.48 kB / 398.7 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.3522, allocations: 1.344 kB / 398.7 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.3523, allocations: 24.88 kB / 398.7 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.3523, allocations: 24.72 kB / 398.8 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.3523, allocations: 2.125 kB / 398.8 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.3526, allocations: 150.3 kB / 398.9 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.3527, allocations: 33.44 kB / 398.9 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.3527, allocations: 35.91 kB / 399 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.353, allocations: 191.1 kB / 399.2 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.353, allocations: 0 / 399.2 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.353, allocations: 1.062 kB / 399.2 MB, free: 8.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.353, allocations: 0 / 399.2 MB, free: 8.031 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.0004982/0.3535, allocations: 488.2 kB / 399.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3536, allocations: 13.7 kB / 399.7 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.3537, allocations: 21.52 kB / 399.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.3538, allocations: 125.4 kB / 399.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3538, allocations: 3.312 kB / 399.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.3539, allocations: 4.469 kB / 399.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.3543, allocations: 392.4 kB / 400.2 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3543, allocations: 4.125 kB / 400.2 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3543, allocations: 7.281 kB / 400.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3543, allocations: 0 / 400.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.3546, allocations: 260 kB / 400.5 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.3547, allocations: 138.5 kB / 400.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.355, allocations: 294.4 kB / 400.9 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.3553, allocations: 270.4 kB / 401.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.3553, allocations: 1.25 kB / 401.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000608/0.3559, allocations: 0.5753 MB / 401.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.032e-06/0.3559, allocations: 0 / 401.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.001177/0.357, allocations: 0.9767 MB / 402.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/0.3571, allocations: 163.4 kB / 402.9 MB, free: 5.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.527e-05/0.3572, allocations: 101.7 kB / 402.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3572, allocations: 32.92 kB / 403 MB, free: 5.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.3573, allocations: 86.39 kB / 403.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.3573, allocations: 90.06 kB / 403.2 MB, free: 5.473 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.3574, allocations: 40.83 kB / 403.2 MB, free: 5.449 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.3574, allocations: 326.1 kB / 403.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.3576, allocations: 205.9 kB / 403.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.3579, allocations: 234.9 kB / 403.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/0.3583, allocations: 468.9 kB / 404.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3583, allocations: 3.938 kB / 404.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005279/0.3588, allocations: 495.3 kB / 404.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.359, allocations: 107.8 kB / 405 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.359, allocations: 5.219 kB / 405 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.359, allocations: 4.5 kB / 405 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/0.359, allocations: 1.375 kB / 405 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.359, allocations: 2.016 kB / 405 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.287e-05/0.3591, allocations: 22.12 kB / 405 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.3591, allocations: 7.875 kB / 405 MB, free: 4.27 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.0002933/0.3594, allocations: 279.4 kB / 405.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.3595, allocations: 29.73 kB / 405.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.3595, allocations: 16.05 kB / 405.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3595, allocations: 1.375 kB / 405.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3595, allocations: 0 / 405.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3595, allocations: 2.125 kB / 405.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.3596, allocations: 147.4 kB / 405.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3596, allocations: 4.844 kB / 405.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-06/0.3597, allocations: 1.375 kB / 405.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3597, allocations: 0 / 405.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.3597, allocations: 19.19 kB / 405.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3597, allocations: 5.109 kB / 405.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3597, allocations: 1.375 kB / 405.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.3609, allocations: 0.9038 MB / 406.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.3609, allocations: 24.11 kB / 406.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.3611, allocations: 65.66 kB / 406.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.074e-05/0.3612, allocations: 16.41 kB / 406.5 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.3612, allocations: 11.47 kB / 406.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.3612, allocations: 22.09 kB / 406.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.333e-05/0.3613, allocations: 84.56 kB / 406.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3613, allocations: 0 / 406.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004363/0.3617, allocations: 90.16 kB / 406.7 MB, free: 3.383 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.0007413/0.3625, allocations: 315.4 kB / 407.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.3636, allocations: 0.8598 MB / 407.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3636, allocations: 1.469 kB / 407.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.3641, allocations: 0.5378 MB / 408.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.3644, allocations: 23.28 kB / 408.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007625/0.3651, allocations: 0.512 MB / 409 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.3652, allocations: 113.2 kB / 409.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.072e-05/0.3653, allocations: 1.156 kB / 409.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.3653, allocations: 8.562 kB / 409.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3653, allocations: 4.125 kB / 409.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of Templates: time 0.007357/0.3726, allocations: 3.201 MB / 412.3 MB, free: 0.8672 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.810020407661796]