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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002135/0.002135, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002498/0.002498, allocations: 215.5 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 230.2 MB / 256.8 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2455/0.2455, allocations: 46.9 MB / 359.9 MB, free: 4.965 MB / 286.1 MB [Timeout remaining time 89] 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=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 88.12 kB / 0.495 GB, free: 8.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3698, allocations: 65.99 MB / 0.5594 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001705/0.3715, allocations: 0.4931 MB / 0.5599 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00317/0.3747, allocations: 2.115 MB / 0.562 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.3747, allocations: 4 kB / 0.562 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.3747, allocations: 0 / 0.562 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.682e-06/0.3747, allocations: 0 / 0.562 GB, free: 2.535 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.001518/0.3762, allocations: 0.496 MB / 0.5625 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.779e-05/0.3763, allocations: 0 / 0.5625 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.3763, allocations: 3.984 kB / 0.5625 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.477e-05/0.3763, allocations: 4 kB / 0.5625 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.726e-05/0.3764, allocations: 7.938 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-06/0.3764, allocations: 0 / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.3775, allocations: 0.6629 MB / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-06/0.3775, allocations: 4 kB / 0.5631 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.3775, allocations: 3.984 kB / 0.5631 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.3781, allocations: 389.5 kB / 0.5635 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3781, allocations: 0 / 0.5635 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3781, allocations: 3.938 kB / 0.5635 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3781, allocations: 0 / 0.5635 GB, free: 0.9727 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.0005077/0.3787, allocations: 420.5 kB / 0.5639 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3787, allocations: 8.031 kB / 0.5639 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.3787, allocations: 0.9375 kB / 0.5639 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3788, allocations: 164.4 kB / 0.5641 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3789, allocations: 384 / 0.5641 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.3789, allocations: 4.375 kB / 0.5641 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.379, allocations: 37.94 kB / 0.5641 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.379, allocations: 0 / 0.5641 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.379, allocations: 3.938 kB / 0.5641 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.379, allocations: 4 kB / 0.5641 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.379, allocations: 4 kB / 0.5641 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.3792, allocations: 149.7 kB / 0.5643 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.3792, allocations: 18.61 kB / 0.5643 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.3792, allocations: 8.844 kB / 0.5643 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.3792, allocations: 0 / 0.5643 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.089e-05/0.3793, allocations: 68.08 kB / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 2.846e-06/0.3793, allocations: 3.984 kB / 0.5644 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001864/0.3795, allocations: 67.42 kB / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.3796, allocations: 85.23 kB / 0.5645 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.12e-05/0.3796, allocations: 93.84 kB / 0.5646 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3796, allocations: 25.7 kB / 0.5646 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.3797, allocations: 80.14 kB / 0.5647 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.3797, allocations: 0 / 0.5647 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.3797, allocations: 13.72 kB / 0.5647 GB, free: 15.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3799, allocations: 314.8 kB / 0.565 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.3799, allocations: 0 / 0.565 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-06/0.3799, allocations: 4 kB / 0.565 GB, free: 15.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.331e-05/0.38, allocations: 64.2 kB / 0.5651 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.38, allocations: 0 / 0.5651 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.585e-05/0.38, allocations: 63.39 kB / 0.5651 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.3801, allocations: 33.64 kB / 0.5652 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3801, allocations: 0 / 0.5652 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3801, allocations: 0 / 0.5652 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.3801, allocations: 4 kB / 0.5652 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3801, allocations: 0 / 0.5652 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.444e-05/0.3801, allocations: 4.094 kB / 0.5652 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.3801, allocations: 0 / 0.5652 GB, free: 14.99 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.0001098/0.3802, allocations: 143.5 kB / 0.5653 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.3802, allocations: 3.938 kB / 0.5653 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.457e-06/0.3803, allocations: 3.125 kB / 0.5653 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3803, allocations: 0 / 0.5653 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3803, allocations: 0 / 0.5653 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3803, allocations: 0 / 0.5653 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.3804, allocations: 149.7 kB / 0.5655 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3804, allocations: 4 kB / 0.5655 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-06/0.3804, allocations: 3.938 kB / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3804, allocations: 3.938 kB / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3804, allocations: 0 / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3804, allocations: 0 / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3804, allocations: 0 / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.3805, allocations: 98.75 kB / 0.5656 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.3805, allocations: 81.05 kB / 0.5656 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.3806, allocations: 11.97 kB / 0.5657 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.3806, allocations: 0 / 0.5657 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-06/0.3806, allocations: 0 / 0.5657 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3806, allocations: 4 kB / 0.5657 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.727e-05/0.3806, allocations: 79.28 kB / 0.5657 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3806, allocations: 0 / 0.5657 GB, free: 14.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004207/0.3811, allocations: 131.5 kB / 0.5659 GB, free: 14.18 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.0007434/0.3818, allocations: 313 kB / 0.5662 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.3819, allocations: 63.33 kB / 0.5662 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3819, allocations: 0 / 0.5662 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.3819, allocations: 55.41 kB / 0.5663 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.3821, allocations: 4 kB / 0.5663 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/0.3823, allocations: 118.9 kB / 0.5664 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.3826, allocations: 0.669 MB / 0.567 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.3826, allocations: 11.44 kB / 0.567 GB, free: 12.87 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3826, allocations: 0 / 0.567 GB, free: 12.87 MB / 414.1 MB Notification: Performance of Templates: time 0.00611/0.3887, allocations: 3.323 MB / 0.5703 GB, free: 9.539 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/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_trunk_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches