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.001329/0.001329, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001626/0.001626, allocations: 215.5 kB / 24.49 MB, free: 3.934 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.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.235/0.235, allocations: 46.95 MB / 361.6 MB, free: 4.039 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.002036/0.002036, allocations: 79.86 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3472, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001788/0.349, allocations: 0.4931 MB / 0.5623 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003576/0.3526, allocations: 2.004 MB / 0.5643 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.3526, allocations: 4 kB / 0.5643 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.3526, allocations: 0 / 0.5643 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.3526, allocations: 0 / 0.5643 GB, free: 1.656 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.001635/0.3543, allocations: 0.514 MB / 0.5648 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.478e-05/0.3543, allocations: 7.969 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.3544, allocations: 4 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.3544, allocations: 4 kB / 0.5648 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.104e-05/0.3544, allocations: 4 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-06/0.3544, allocations: 0 / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.3556, allocations: 0.6901 MB / 0.5655 GB, free: 444 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.3556, allocations: 7.922 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.3556, allocations: 4 kB / 0.5655 GB, free: 432 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000602/0.3562, allocations: 381.5 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.3562, allocations: 4 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.3562, allocations: 0 / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.3563, allocations: 0 / 0.5658 GB, free: 52 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.0006188/0.3569, allocations: 339.4 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.3569, allocations: 8.031 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.357, allocations: 4.938 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.3571, allocations: 118.5 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.3571, allocations: 384 / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.3571, allocations: 384 / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3572, allocations: 63.7 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3572, allocations: 0 / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.3573, allocations: 0 / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3573, allocations: 0 / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.44e-05/0.3573, allocations: 29.7 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.3574, allocations: 93.33 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.995e-05/0.3575, allocations: 52.25 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.3575, allocations: 38.55 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.3575, allocations: 0 / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.622e-05/0.3576, allocations: 64.27 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3576, allocations: 0 / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002592/0.3579, allocations: 126.7 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.3579, allocations: 77.11 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.038e-05/0.358, allocations: 89.86 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.358, allocations: 25.7 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.358, allocations: 80.14 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.358, allocations: 7.938 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.3581, allocations: 13.84 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3582, allocations: 318.8 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/0.3583, allocations: 29.7 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.3583, allocations: 25.7 kB / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.744e-05/0.3584, allocations: 64.25 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3584, allocations: 0 / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001011/0.3585, allocations: 89.11 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.3585, allocations: 29.7 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3585, allocations: 3.984 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3585, allocations: 12.03 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.3585, allocations: 0 / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3585, allocations: 0 / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.3586, allocations: 0 / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3586, allocations: 7.938 kB / 0.5676 GB, free: 14 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.0001109/0.3587, allocations: 139.5 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-06/0.3587, allocations: 0 / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.388e-05/0.3587, allocations: 3 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3587, allocations: 3.938 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3587, allocations: 0 / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-06/0.3587, allocations: 7.984 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.3587, allocations: 4 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-06/0.3587, allocations: 0 / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.3587, allocations: 0 / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001795/0.3589, allocations: 223.8 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002065/0.3591, allocations: 266.1 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.995e-05/0.3592, allocations: 29.69 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.497e-05/0.3592, allocations: 79.31 kB / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of Backend: time 3.61e-07/0.3592, allocations: 0 / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.3603, allocations: 384.3 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006981/0.361, allocations: 0.5834 MB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of Templates: time 0.00842/0.3694, allocations: 3.535 MB / 0.5727 GB, free: 8.602 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 -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.238454525002453]