Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 230.3 MB / 258 MB, free: 8.211 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2453/0.2453, allocations: 46.87 MB / 361.3 MB, free: 4.414 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 79.86 kB / 0.497 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3336, allocations: 66.03 MB / 0.5615 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001589/0.3352, allocations: 0.5048 MB / 0.562 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004275/0.3395, allocations: 2.14 MB / 0.5641 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.3395, allocations: 0 / 0.5641 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.3395, allocations: 0 / 0.5641 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.151e-06/0.3395, allocations: 0 / 0.5641 GB, free: 1.93 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001562/0.3411, allocations: 0.5171 MB / 0.5646 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.508e-05/0.3411, allocations: 0 / 0.5646 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.3412, allocations: 4 kB / 0.5646 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.3412, allocations: 0 / 0.5646 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.576e-05/0.3412, allocations: 0 / 0.5646 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.594e-06/0.3412, allocations: 4 kB / 0.5646 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.3425, allocations: 0.7642 MB / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.3425, allocations: 0 / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.3425, allocations: 0 / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006345/0.3432, allocations: 401.6 kB / 0.5657 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3432, allocations: 0 / 0.5657 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3432, allocations: 7.875 kB / 0.5658 GB, free: 252 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.3432, allocations: 0 / 0.5658 GB, free: 252 kB / 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.0005552/0.3437, allocations: 351.2 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3438, allocations: 12.03 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.3438, allocations: 0.9375 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.769e-05/0.3439, allocations: 102.5 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-06/0.3439, allocations: 384 / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.3439, allocations: 8.375 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.344, allocations: 30.02 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.344, allocations: 0 / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.344, allocations: 0 / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.344, allocations: 0 / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/0.3441, allocations: 8 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.3442, allocations: 116.8 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.3443, allocations: 22.55 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.481e-05/0.3443, allocations: 8.859 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.3443, allocations: 0 / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/0.3443, allocations: 64.2 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3443, allocations: 0 / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002037/0.3445, allocations: 71.34 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.3446, allocations: 81.05 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.3447, allocations: 93.86 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3447, allocations: 29.83 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.3447, allocations: 80.14 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.3447, allocations: 0 / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.3448, allocations: 13.72 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3449, allocations: 314.8 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.3449, allocations: 0 / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-06/0.3449, allocations: 3.984 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.871e-05/0.345, allocations: 68.33 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.345, allocations: 0 / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.458e-05/0.3451, allocations: 67.34 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.3451, allocations: 33.64 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3451, allocations: 3.984 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3451, allocations: 0 / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.3451, allocations: 0 / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.3451, allocations: 4 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.3451, allocations: 0 / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3451, allocations: 0 / 0.5673 GB, free: 14.46 MB / 414.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 0.0001225/0.3453, allocations: 140.9 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.3453, allocations: 3.938 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.3453, allocations: 3 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3453, allocations: 3.938 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3453, allocations: 0 / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3453, allocations: 0 / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.3454, allocations: 120.8 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.3454, allocations: 0 / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-07/0.3454, allocations: 0 / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3454, allocations: 3.938 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3454, allocations: 8 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.3454, allocations: 0 / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3454, allocations: 0 / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.3455, allocations: 94.77 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.3456, allocations: 3.984 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.3456, allocations: 7.938 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-06/0.3456, allocations: 0 / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.3456, allocations: 7.969 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.3456, allocations: 0 / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.3456, allocations: 75.28 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3456, allocations: 0 / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004285/0.3461, allocations: 139.5 kB / 0.5679 GB, free: 13.77 MB / 414.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.0008581/0.3469, allocations: 308.9 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.3471, allocations: 55.41 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3471, allocations: 0 / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.028e-05/0.3471, allocations: 59.41 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.3473, allocations: 11.92 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.3475, allocations: 84.94 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.3479, allocations: 0.6729 MB / 0.569 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.803e-06/0.3479, allocations: 4.125 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.3479, allocations: 7.438 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3479, allocations: 0 / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of Templates: time 0.007946/0.3558, allocations: 3.513 MB / 0.5725 GB, free: 8.984 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.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: 5.080924166366458]