Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 106.6 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 192.2 kB / 23.52 MB, free: 5.418 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 252.1 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2172/0.2172, allocations: 44.92 MB / 352.1 MB, free: 12.32 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 495.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3126, allocations: 64.26 MB / 0.5468 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001957/0.3146, allocations: 0.5038 MB / 0.5472 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.3178, allocations: 2.055 MB / 0.5493 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.828e-05/0.3178, allocations: 0 / 0.5493 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.3178, allocations: 0 / 0.5493 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-06/0.3178, allocations: 4 kB / 0.5493 GB, free: 11.21 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:1013:5-1096:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.distributions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.3195, allocations: 0.4919 MB / 0.5497 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.559e-05/0.3195, allocations: 3.312 kB / 0.5497 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.3196, allocations: 7.984 kB / 0.5498 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.66e-05/0.3196, allocations: 1 kB / 0.5498 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.018e-05/0.3196, allocations: 3.984 kB / 0.5498 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.123e-06/0.3196, allocations: 1.312 kB / 0.5498 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.3208, allocations: 0.6508 MB / 0.5504 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.3208, allocations: 3.984 kB / 0.5504 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.3208, allocations: 1.5 kB / 0.5504 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006075/0.3214, allocations: 379.3 kB / 0.5508 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3214, allocations: 0 / 0.5508 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3214, allocations: 5.062 kB / 0.5508 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3214, allocations: 0 / 0.5508 GB, free: 10.3 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005139/0.3219, allocations: 421.8 kB / 0.5512 GB, free: 9.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.322, allocations: 9.125 kB / 0.5512 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.322, allocations: 0.9375 kB / 0.5512 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3221, allocations: 161.5 kB / 0.5513 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3221, allocations: 384 / 0.5513 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.3221, allocations: 1.594 kB / 0.5513 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.3222, allocations: 40.2 kB / 0.5514 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3223, allocations: 0 / 0.5514 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3223, allocations: 5.031 kB / 0.5514 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3223, allocations: 0 / 0.5514 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.3223, allocations: 2.125 kB / 0.5514 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.3224, allocations: 150.8 kB / 0.5515 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.176e-05/0.3225, allocations: 15.77 kB / 0.5515 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.3225, allocations: 5.859 kB / 0.5515 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.3225, allocations: 5.094 kB / 0.5515 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.3226, allocations: 65.27 kB / 0.5516 GB, free: 9.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3226, allocations: 0 / 0.5516 GB, free: 9.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000191/0.3227, allocations: 66.89 kB / 0.5517 GB, free: 9.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.3228, allocations: 78.36 kB / 0.5517 GB, free: 9.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.002e-05/0.3229, allocations: 89.86 kB / 0.5518 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3229, allocations: 27.08 kB / 0.5519 GB, free: 9.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.3229, allocations: 80.27 kB / 0.5519 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.3229, allocations: 4 kB / 0.5519 GB, free: 8.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.323, allocations: 12.41 kB / 0.552 GB, free: 8.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3231, allocations: 314.8 kB / 0.5523 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.3231, allocations: 5.438 kB / 0.5523 GB, free: 8.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.3231, allocations: 1.125 kB / 0.5523 GB, free: 8.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.402e-05/0.3232, allocations: 63.73 kB / 0.5523 GB, free: 8.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3232, allocations: 0 / 0.5523 GB, free: 8.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.127e-05/0.3232, allocations: 62.75 kB / 0.5524 GB, free: 8.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.3233, allocations: 39.31 kB / 0.5524 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3233, allocations: 0 / 0.5524 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3233, allocations: 0 / 0.5524 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.3233, allocations: 1.125 kB / 0.5524 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3233, allocations: 0 / 0.5524 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.3233, allocations: 9.078 kB / 0.5524 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.3233, allocations: 7.984 kB / 0.5524 GB, free: 8.402 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.122e-05/0.3234, allocations: 138.9 kB / 0.5526 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.3234, allocations: 7.969 kB / 0.5526 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.214e-05/0.3235, allocations: 8.203 kB / 0.5526 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3235, allocations: 0 / 0.5526 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.3235, allocations: 1.062 kB / 0.5526 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3235, allocations: 7.922 kB / 0.5526 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.3236, allocations: 142.9 kB / 0.5527 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3236, allocations: 1.094 kB / 0.5527 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3236, allocations: 0 / 0.5527 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3236, allocations: 3.938 kB / 0.5527 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.3236, allocations: 5.047 kB / 0.5527 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3236, allocations: 5.062 kB / 0.5527 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3236, allocations: 0 / 0.5527 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.3237, allocations: 97.59 kB / 0.5528 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.3237, allocations: 78.2 kB / 0.5529 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.3238, allocations: 5.062 kB / 0.5529 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-06/0.3238, allocations: 0 / 0.5529 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.3238, allocations: 5.141 kB / 0.5529 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.3238, allocations: 1.062 kB / 0.5529 GB, free: 7.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.19e-05/0.3238, allocations: 79.31 kB / 0.553 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3238, allocations: 0 / 0.553 GB, free: 7.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.3243, allocations: 130.8 kB / 0.5531 GB, free: 7.703 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007025/0.325, allocations: 302.2 kB / 0.5534 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.3251, allocations: 65.38 kB / 0.5535 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3251, allocations: 0 / 0.5535 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.3251, allocations: 53.72 kB / 0.5535 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.3253, allocations: 2.531 kB / 0.5535 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/0.3255, allocations: 106.3 kB / 0.5536 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3257, allocations: 0.6741 MB / 0.5543 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.318e-05/0.3258, allocations: 10.22 kB / 0.5543 GB, free: 6.555 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3258, allocations: 128 / 0.5543 GB, free: 6.555 MB / 398.1 MB Notification: Performance of Templates: time 0.007267/0.333, allocations: 3.238 MB / 0.5575 GB, free: 4.48 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches