Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.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.00175/0.00175, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002148/0.002148, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 46.96 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 71.88 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2933, allocations: 66.03 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001608/0.2949, allocations: 0.4931 MB / 0.5623 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.2978, allocations: 2.008 MB / 0.5643 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.351e-05/0.2978, allocations: 0 / 0.5643 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.141e-05/0.2979, allocations: 0 / 0.5643 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.12e-06/0.2979, allocations: 0 / 0.5643 GB, free: 1.617 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.00146/0.2993, allocations: 0.5217 MB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.709e-05/0.2994, allocations: 0 / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.2994, allocations: 3.984 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.2994, allocations: 4 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.642e-05/0.2994, allocations: 0 / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.212e-06/0.2994, allocations: 0 / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.3005, allocations: 0.694 MB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-06/0.3005, allocations: 3.938 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.3006, allocations: 11.98 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.3011, allocations: 373.5 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3011, allocations: 4 kB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3011, allocations: 0 / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3011, allocations: 0 / 0.5658 GB, free: 16 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.0004287/0.3015, allocations: 343.3 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.3016, allocations: 16.03 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.3016, allocations: 4.922 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.139e-05/0.3017, allocations: 106.5 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3017, allocations: 384 / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.3017, allocations: 4.375 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.558e-05/0.3018, allocations: 55.72 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.3018, allocations: 0 / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.3018, allocations: 0 / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-06/0.3018, allocations: 4 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.78e-05/0.3019, allocations: 29.7 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.302, allocations: 101.3 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.921e-05/0.302, allocations: 48.25 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.302, allocations: 30.56 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3021, allocations: 8 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.3021, allocations: 60.27 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.3021, allocations: 0 / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001971/0.3023, allocations: 122.7 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.3024, allocations: 77.11 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.599e-05/0.3024, allocations: 89.86 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3024, allocations: 33.7 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.3025, allocations: 92.14 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.3025, allocations: 0 / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.3025, allocations: 9.719 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3026, allocations: 318.8 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.3026, allocations: 25.7 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.3027, allocations: 25.7 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.805e-05/0.3027, allocations: 64.27 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3027, allocations: 0 / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.436e-05/0.3028, allocations: 89.09 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.3029, allocations: 37.8 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3029, allocations: 0 / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3029, allocations: 3.938 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-06/0.3029, allocations: 4 kB / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.3029, allocations: 7.922 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.3029, allocations: 0 / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/0.3029, allocations: 0 / 0.5676 GB, free: 13.96 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 8.965e-05/0.303, allocations: 139.5 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.303, allocations: 3.984 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.16e-05/0.303, allocations: 6.938 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.303, allocations: 8 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.303, allocations: 0 / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.303, allocations: 0 / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.41e-05/0.3031, allocations: 97.31 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.3031, allocations: 0 / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3031, allocations: 0 / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.3031, allocations: 4 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.3031, allocations: 0 / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3031, allocations: 3.938 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3031, allocations: 3.984 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.3032, allocations: 112.5 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-06/0.3032, allocations: 4.031 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3032, allocations: 7.984 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.3032, allocations: 7.875 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.3033, allocations: 0 / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.3033, allocations: 3.984 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.283e-05/0.3033, allocations: 79.25 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3033, allocations: 3.938 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.3037, allocations: 135.5 kB / 0.5681 GB, free: 13.28 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.0007298/0.3044, allocations: 316.1 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.3045, allocations: 114.8 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3045, allocations: 0 / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.086e-05/0.3046, allocations: 81.11 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.3047, allocations: 3.094 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.3049, allocations: 118.7 kB / 0.5688 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.61e-05/0.305, allocations: 63.42 kB / 0.5688 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.671e-06/0.305, allocations: 0 / 0.5688 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.305, allocations: 7.438 kB / 0.5688 GB, free: 12.49 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.305, allocations: 0 / 0.5688 GB, free: 12.49 MB / 414.1 MB Notification: Performance of Templates: time 0.007282/0.3123, allocations: 3.512 MB / 0.5723 GB, free: 8.988 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.003216725992388]