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.001546/0.001546, allocations: 106 kB / 21.18 MB, free: 0.7188 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.001457/0.001457, allocations: 189.2 kB / 24.47 MB, free: 4.094 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.503/1.503, allocations: 207.6 MB / 235.2 MB, free: 10.03 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.001734/0.001734, allocations: 58.89 kB / 347.7 MB, free: 9.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3055, allocations: 49.16 MB / 396.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002935/0.3084, allocations: 1.227 MB / 398 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3095, allocations: 483.5 kB / 398.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.3096, allocations: 1.094 kB / 398.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.597e-05/0.3096, allocations: 0.5625 kB / 398.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005271/0.3101, allocations: 76.39 kB / 398.6 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.3103, allocations: 72.61 kB / 398.7 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.3104, allocations: 40.95 kB / 398.7 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.3105, allocations: 2.891 kB / 398.7 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.32e-05/0.3105, allocations: 26.38 kB / 398.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.194e-05/0.3106, allocations: 14.3 kB / 398.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3106, allocations: 6 kB / 398.7 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003527/0.3109, allocations: 159.8 kB / 398.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.311, allocations: 32.92 kB / 398.9 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.15e-05/0.3111, allocations: 55.28 kB / 399 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.3114, allocations: 178.1 kB / 399.2 MB, free: 8.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3114, allocations: 0 / 399.2 MB, free: 8.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3114, allocations: 0 / 399.2 MB, free: 8.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3114, allocations: 0 / 399.2 MB, free: 8.113 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.0006784/0.3121, allocations: 0.4924 MB / 399.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3122, allocations: 17.08 kB / 399.7 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.3123, allocations: 24.81 kB / 399.7 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3124, allocations: 125.8 kB / 399.8 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.3124, allocations: 2.719 kB / 399.8 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3125, allocations: 8.969 kB / 399.8 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.3128, allocations: 269.3 kB / 400.1 MB, free: 7.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3128, allocations: 1.25 kB / 400.1 MB, free: 7.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.3129, allocations: 6.453 kB / 400.1 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3129, allocations: 5.094 kB / 400.1 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.3131, allocations: 145.2 kB / 400.2 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.3132, allocations: 172.2 kB / 400.4 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.3135, allocations: 172.3 kB / 400.6 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.3137, allocations: 155.3 kB / 400.7 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.3137, allocations: 9.125 kB / 400.7 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005522/0.3142, allocations: 476.1 kB / 401.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.824e-06/0.3142, allocations: 3.984 kB / 401.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.001019/0.3153, allocations: 0.739 MB / 402 MB, free: 6.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/0.3153, allocations: 159.8 kB / 402.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/0.3154, allocations: 106.2 kB / 402.2 MB, free: 6.281 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.3154, allocations: 31.83 kB / 402.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.3155, allocations: 84.72 kB / 402.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.3155, allocations: 90.03 kB / 402.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.3156, allocations: 42.42 kB / 402.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.3157, allocations: 327.5 kB / 402.8 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.3158, allocations: 79.92 kB / 402.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.3159, allocations: 117.7 kB / 403 MB, free: 5.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.3164, allocations: 420.4 kB / 403.4 MB, free: 5.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3164, allocations: 1.312 kB / 403.4 MB, free: 5.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004132/0.3168, allocations: 353.3 kB / 403.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.901e-05/0.3169, allocations: 114.1 kB / 403.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3169, allocations: 1.469 kB / 403.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3169, allocations: 0 / 403.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-06/0.3169, allocations: 1.438 kB / 403.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3169, allocations: 0 / 403.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.317, allocations: 23.5 kB / 403.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.317, allocations: 8 kB / 403.9 MB, free: 5.164 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.0002689/0.3173, allocations: 297.1 kB / 404.2 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.3173, allocations: 29.95 kB / 404.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.563e-05/0.3173, allocations: 11.55 kB / 404.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3173, allocations: 1.781 kB / 404.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3174, allocations: 0.5156 kB / 404.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3174, allocations: 0 / 404.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3175, allocations: 209.2 kB / 404.4 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3175, allocations: 0 / 404.4 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.3175, allocations: 1.344 kB / 404.4 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3175, allocations: 5.812 kB / 404.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.3176, allocations: 17.88 kB / 404.4 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3176, allocations: 4.875 kB / 404.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3176, allocations: 5.531 kB / 404.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.3189, allocations: 1.249 MB / 405.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.3189, allocations: 17.34 kB / 405.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.319, allocations: 71.89 kB / 405.8 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.668e-05/0.3191, allocations: 9.344 kB / 405.8 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.3191, allocations: 10.58 kB / 405.8 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.3192, allocations: 18 kB / 405.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.3192, allocations: 89.62 kB / 405.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3192, allocations: 0 / 405.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004129/0.3196, allocations: 92.52 kB / 406 MB, free: 4.25 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.0006363/0.3203, allocations: 297.3 kB / 406.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.3214, allocations: 1.066 MB / 407.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3214, allocations: 128 / 407.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008946/0.3223, allocations: 0.8989 MB / 408.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3225, allocations: 20.52 kB / 408.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006405/0.3232, allocations: 407.3 kB / 408.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.3233, allocations: 0.7252 MB / 409.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.117e-05/0.3233, allocations: 5.469 kB / 409.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.3234, allocations: 8.406 kB / 409.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3234, allocations: 0 / 409.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of Templates: time 0.007553/0.3309, allocations: 3.172 MB / 412.6 MB, free: 1.289 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.741998009383678]