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.00147/0.00147, allocations: 102 kB / 21.93 MB, free: 5.203 MB / 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.001564/0.001564, allocations: 202.2 kB / 25.21 MB, free: 3.145 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.504/1.504, allocations: 207.7 MB / 236.1 MB, free: 9.773 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.001892/0.001892, allocations: 66.58 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3194, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.00211/0.3215, allocations: 1.233 MB / 398.8 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009023/0.3224, allocations: 440.5 kB / 399.3 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.3224, allocations: 1.219 kB / 399.3 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.3225, allocations: 5.203 kB / 399.3 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004747/0.323, allocations: 76.47 kB / 399.3 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.3231, allocations: 73.56 kB / 399.4 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.166e-05/0.3232, allocations: 44.05 kB / 399.5 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.3232, allocations: 3 kB / 399.5 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.669e-05/0.3233, allocations: 24 kB / 399.5 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.3233, allocations: 24.77 kB / 399.5 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.3233, allocations: 2.281 kB / 399.5 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000348/0.3237, allocations: 150.9 kB / 399.7 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.3237, allocations: 29.16 kB / 399.7 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.3238, allocations: 42.69 kB / 399.7 MB, free: 8.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.3241, allocations: 187.8 kB / 399.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3241, allocations: 1.469 kB / 399.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3241, allocations: 0 / 399.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3241, allocations: 0 / 399.9 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.0005305/0.3246, allocations: 488.5 kB / 400.4 MB, free: 7.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3247, allocations: 13.36 kB / 400.4 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.3248, allocations: 26.77 kB / 400.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.999e-05/0.3249, allocations: 120.7 kB / 400.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.3249, allocations: 1.812 kB / 400.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.3249, allocations: 5.375 kB / 400.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.3254, allocations: 391.9 kB / 400.9 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3254, allocations: 5.594 kB / 400.9 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3254, allocations: 9.281 kB / 401 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3254, allocations: 1.406 kB / 401 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.3256, allocations: 259.7 kB / 401.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.3257, allocations: 132.8 kB / 401.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.326, allocations: 304 kB / 401.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.3262, allocations: 270.2 kB / 401.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.3262, allocations: 1.156 kB / 401.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005353/0.3268, allocations: 0.5679 MB / 402.5 MB, free: 6.352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.343e-06/0.3268, allocations: 3.938 kB / 402.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.001103/0.3279, allocations: 0.9758 MB / 403.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.3279, allocations: 164.4 kB / 403.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.328, allocations: 101.3 kB / 403.7 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.328, allocations: 29.09 kB / 403.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.328, allocations: 86.02 kB / 403.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.3281, allocations: 90.58 kB / 403.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.3281, allocations: 41.52 kB / 403.9 MB, free: 5.449 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.3282, allocations: 329.5 kB / 404.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.3284, allocations: 201.7 kB / 404.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.3285, allocations: 231 kB / 404.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.3289, allocations: 463.5 kB / 405.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3289, allocations: 1.188 kB / 405.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005181/0.3294, allocations: 0.4883 MB / 405.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.3295, allocations: 113 kB / 405.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3295, allocations: 96 / 405.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.3295, allocations: 9.312 kB / 405.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.3295, allocations: 0 / 405.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3295, allocations: 1.375 kB / 405.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.86e-05/0.3296, allocations: 26.78 kB / 405.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.3297, allocations: 8.25 kB / 405.8 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.0003368/0.33, allocations: 279.3 kB / 406.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.129e-05/0.3301, allocations: 29.14 kB / 406.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.3301, allocations: 11.47 kB / 406.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3301, allocations: 1.344 kB / 406.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.3301, allocations: 1.828 kB / 406.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3301, allocations: 0 / 406.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.3303, allocations: 155.9 kB / 406.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3303, allocations: 1.75 kB / 406.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.3303, allocations: 4.75 kB / 406.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3303, allocations: 1.25 kB / 406.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/0.3304, allocations: 14.39 kB / 406.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3304, allocations: 5.062 kB / 406.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3304, allocations: 0 / 406.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.3319, allocations: 0.9088 MB / 407.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.332, allocations: 18.19 kB / 407.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.3321, allocations: 66.44 kB / 407.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.3322, allocations: 12.78 kB / 407.3 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.3323, allocations: 17.08 kB / 407.3 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.3323, allocations: 21.81 kB / 407.3 MB, free: 3.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.937e-05/0.3324, allocations: 87.77 kB / 407.4 MB, free: 3.387 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3324, allocations: 0.875 kB / 407.4 MB, free: 3.387 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006939/0.3331, allocations: 88.7 kB / 407.5 MB, free: 3.379 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.00104/0.3341, allocations: 312.5 kB / 407.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.3358, allocations: 0.8609 MB / 408.7 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3358, allocations: 0 / 408.7 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007706/0.3366, allocations: 0.5421 MB / 409.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.3369, allocations: 24.12 kB / 409.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.338, allocations: 0.5404 MB / 409.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.3381, allocations: 109.4 kB / 409.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.797e-05/0.3381, allocations: 8.875 kB / 409.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3381, allocations: 0 / 409.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of Templates: time 0.007381/0.3455, allocations: 2.88 MB / 412.8 MB, free: 1.047 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: 7.937037819065154]