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.001297/0.001302, allocations: 117.2 kB / 18.45 MB, free: 4.613 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.001334/0.001334, allocations: 206.6 kB / 21.4 MB, free: 1.668 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.554/1.554, allocations: 227.4 MB / 251.6 MB, free: 72 kB / 190.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.24/0.24, allocations: 46.17 MB / 351.1 MB, free: 14.29 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.002148/0.002148, allocations: 86.59 kB / 490.2 MB, free: 28.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.133, allocations: 62.45 MB / 0.5397 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001683/0.1347, allocations: 498.3 kB / 0.5402 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003127/0.1379, allocations: 2.11 MB / 0.5422 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.1379, allocations: 0 / 0.5422 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.1379, allocations: 0 / 0.5422 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.873e-06/0.138, allocations: 0 / 0.5422 GB, free: 1.629 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.001426/0.1394, allocations: 0.5033 MB / 0.5427 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.696e-05/0.1394, allocations: 0 / 0.5427 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.1395, allocations: 4 kB / 0.5427 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.526e-05/0.1395, allocations: 4 kB / 0.5427 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.833e-05/0.1395, allocations: 3.984 kB / 0.5427 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/0.1395, allocations: 0 / 0.5427 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.1406, allocations: 0.6239 MB / 0.5433 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.1406, allocations: 7.984 kB / 0.5433 GB, free: 496 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.6e-05/0.1406, allocations: 3.938 kB / 0.5433 GB, free: 492 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005847/0.1412, allocations: 387 kB / 0.5437 GB, free: 104 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1412, allocations: 3.938 kB / 0.5437 GB, free: 100 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1412, allocations: 0 / 0.5437 GB, free: 100 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.1412, allocations: 0 / 0.5437 GB, free: 100 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.000491/0.1417, allocations: 424.6 kB / 0.5441 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1418, allocations: 8.031 kB / 0.5441 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.1418, allocations: 0.9375 kB / 0.5441 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1419, allocations: 168.4 kB / 0.5443 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.142, allocations: 384 / 0.5443 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.142, allocations: 4.375 kB / 0.5443 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.878e-05/0.1421, allocations: 30.02 kB / 0.5443 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.1421, allocations: 0 / 0.5443 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1421, allocations: 0 / 0.5443 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1421, allocations: 4 kB / 0.5443 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.568e-05/0.1421, allocations: 0 / 0.5443 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.1423, allocations: 149.7 kB / 0.5445 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/0.1423, allocations: 26.55 kB / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.1423, allocations: 4.859 kB / 0.5445 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.1424, allocations: 0 / 0.5445 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/0.1424, allocations: 60.2 kB / 0.5446 GB, free: 15.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.1424, allocations: 0 / 0.5446 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001766/0.1426, allocations: 75.33 kB / 0.5446 GB, free: 14.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.1427, allocations: 85.23 kB / 0.5447 GB, free: 14.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.407e-05/0.1427, allocations: 93.86 kB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1428, allocations: 25.7 kB / 0.5448 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.1428, allocations: 80.14 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.1428, allocations: 3.938 kB / 0.5449 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.1428, allocations: 13.72 kB / 0.5449 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.143, allocations: 314.8 kB / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.143, allocations: 0 / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.143, allocations: 4 kB / 0.5452 GB, free: 14.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.766e-05/0.1431, allocations: 68.25 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1431, allocations: 0 / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.661e-05/0.1431, allocations: 63.34 kB / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.1432, allocations: 33.64 kB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1432, allocations: 0 / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1432, allocations: 4 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1432, allocations: 0 / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1432, allocations: 0 / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.1433, allocations: 8.031 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1433, allocations: 7.984 kB / 0.5454 GB, free: 14.1 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.0001041/0.1434, allocations: 139.5 kB / 0.5455 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.1434, allocations: 3.938 kB / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.194e-06/0.1434, allocations: 3.125 kB / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1434, allocations: 3.984 kB / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1434, allocations: 0 / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1434, allocations: 0 / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.1436, allocations: 153.7 kB / 0.5457 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1436, allocations: 4 kB / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1436, allocations: 0 / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1436, allocations: 3.938 kB / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.1436, allocations: 0 / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1436, allocations: 0 / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1436, allocations: 0 / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.913e-05/0.1437, allocations: 94.77 kB / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.1437, allocations: 77.11 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1438, allocations: 11.97 kB / 0.5459 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-06/0.1438, allocations: 0 / 0.5459 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.1438, allocations: 0 / 0.5459 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.1438, allocations: 0 / 0.5459 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.198e-05/0.1438, allocations: 75.28 kB / 0.5459 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.1438, allocations: 0 / 0.5459 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003779/0.1442, allocations: 135.5 kB / 0.5461 GB, free: 13.3 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.000702/0.1449, allocations: 308.4 kB / 0.5464 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.1451, allocations: 59.41 kB / 0.5464 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.1451, allocations: 7.938 kB / 0.5464 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.1451, allocations: 55.34 kB / 0.5465 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.1452, allocations: 4 kB / 0.5465 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001811/0.1454, allocations: 85.17 kB / 0.5466 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1457, allocations: 0.669 MB / 0.5472 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.46e-06/0.1458, allocations: 0 / 0.5472 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.182e-05/0.1458, allocations: 7.438 kB / 0.5472 GB, free: 12.03 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1458, allocations: 0 / 0.5472 GB, free: 12.03 MB / 414.1 MB Notification: Performance of Templates: time 0.007149/0.1529, allocations: 3.501 MB / 0.5506 GB, free: 8.531 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.209509735926986]