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.001335/0.001335, allocations: 111.6 kB / 21.19 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.001496/0.001496, allocations: 219.4 kB / 24.48 MB, free: 3.965 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.473/1.473, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.2513/0.2513, allocations: 46.95 MB / 361.6 MB, free: 3.898 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.002365/0.002365, allocations: 83.86 kB / 0.4974 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3248, allocations: 66.09 MB / 0.5619 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001696/0.3265, allocations: 0.4893 MB / 0.5624 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.3297, allocations: 2.011 MB / 0.5644 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/0.3297, allocations: 0 / 0.5644 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.3297, allocations: 3.938 kB / 0.5644 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.222e-06/0.3297, allocations: 0 / 0.5644 GB, free: 1.434 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.001589/0.3313, allocations: 0.5079 MB / 0.5649 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.697e-05/0.3314, allocations: 4 kB / 0.5649 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.3314, allocations: 7.969 kB / 0.5649 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.612e-05/0.3314, allocations: 4 kB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.89e-05/0.3315, allocations: 0 / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.3315, allocations: 0 / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.3326, allocations: 0.6394 MB / 0.5655 GB, free: 276 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.867e-06/0.3326, allocations: 0 / 0.5655 GB, free: 276 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.3326, allocations: 7.984 kB / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.3332, allocations: 385.5 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3332, allocations: 0 / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3332, allocations: 0 / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3332, allocations: 0 / 0.5659 GB, free: 15.89 MB / 414.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.0004472/0.3337, allocations: 343.3 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3337, allocations: 15.97 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.3338, allocations: 4.938 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.541e-05/0.3338, allocations: 102.5 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3339, allocations: 384 / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.3339, allocations: 4.375 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.334, allocations: 63.7 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.334, allocations: 0 / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.334, allocations: 4 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.334, allocations: 0 / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.141e-05/0.334, allocations: 25.7 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.3341, allocations: 97.33 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.866e-05/0.3342, allocations: 48.22 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.3342, allocations: 42.64 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.3343, allocations: 0 / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.3343, allocations: 56.27 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3343, allocations: 0 / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002305/0.3345, allocations: 122.7 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.3346, allocations: 85.05 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.058e-05/0.3347, allocations: 93.86 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3347, allocations: 25.7 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.305e-05/0.3347, allocations: 80.27 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.3347, allocations: 4 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.3348, allocations: 13.72 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3349, allocations: 310.8 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.3349, allocations: 29.64 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/0.3349, allocations: 29.7 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.335, allocations: 64.25 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.335, allocations: 4 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.788e-05/0.3351, allocations: 85.05 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.3351, allocations: 33.7 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3351, allocations: 8.031 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3351, allocations: 7.922 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.3351, allocations: 0 / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3352, allocations: 0 / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.3352, allocations: 0 / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3352, allocations: 4 kB / 0.5676 GB, free: 13.84 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 9.702e-05/0.3353, allocations: 135.5 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-06/0.3353, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.274e-05/0.3353, allocations: 10.94 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3353, allocations: 0 / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3353, allocations: 11.98 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3353, allocations: 0 / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.142e-05/0.3354, allocations: 101.3 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3354, allocations: 0 / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.3354, allocations: 4 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.3354, allocations: 0 / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3354, allocations: 0 / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3354, allocations: 3.938 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3354, allocations: 0 / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.3355, allocations: 120.5 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-06/0.3355, allocations: 32 / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.3355, allocations: 8 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.078e-05/0.3356, allocations: 3.938 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.3356, allocations: 0 / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.3356, allocations: 0 / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.479e-05/0.3356, allocations: 79.31 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3356, allocations: 0 / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003917/0.336, allocations: 135.5 kB / 0.5682 GB, free: 13.16 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.0007341/0.3367, allocations: 325.5 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.3369, allocations: 110.8 kB / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3369, allocations: 0 / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.802e-05/0.3369, allocations: 85.09 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.337, allocations: 1.719 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.3373, allocations: 144.3 kB / 0.5688 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.88e-05/0.3373, allocations: 55.36 kB / 0.5689 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.407e-05/0.3373, allocations: 11.56 kB / 0.5689 GB, free: 12.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3373, allocations: 0 / 0.5689 GB, free: 12.34 MB / 414.1 MB Notification: Performance of Templates: time 0.006037/0.3434, allocations: 3.315 MB / 0.5721 GB, free: 9.02 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.1.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 [Calling sys.exit(0), Time elapsed: 9.15315832477063]