Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 199.8 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008792/0.0008792, allocations: 99.31 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3206/0.3206, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002849, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3294, allocations: 62.96 MB / 0.5184 GB, free: 37.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.4391, allocations: 90.48 MB / 0.6068 GB, free: 14.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4394, allocations: 71.95 kB / 0.6068 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7448/1.184, allocations: 59.86 MB / 0.6653 GB, free: 2.805 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.227e-06/1.184, allocations: 0 / 0.6653 GB, free: 2.805 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/1.184, allocations: 0 / 0.6653 GB, free: 2.805 MB / 474.7 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.00538/1.19, allocations: 472.8 kB / 0.6657 GB, free: 2.285 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.19, allocations: 8.031 kB / 0.6658 GB, free: 2.277 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/1.19, allocations: 0.9375 kB / 0.6658 GB, free: 2.277 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/1.19, allocations: 168.4 kB / 0.6659 GB, free: 2.074 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/1.19, allocations: 384 / 0.6659 GB, free: 2.074 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/1.19, allocations: 12.36 kB / 0.6659 GB, free: 2.062 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.912e-05/1.19, allocations: 30.2 kB / 0.666 GB, free: 2.027 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/1.19, allocations: 192 / 0.666 GB, free: 2.027 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/1.19, allocations: 3.938 kB / 0.666 GB, free: 2.023 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.19, allocations: 0 / 0.666 GB, free: 2.023 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.382e-05/1.19, allocations: 4 kB / 0.666 GB, free: 2.02 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/1.19, allocations: 141.7 kB / 0.6661 GB, free: 1.832 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.5e-05/1.19, allocations: 22.59 kB / 0.6661 GB, free: 1.801 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/1.19, allocations: 12.86 kB / 0.6661 GB, free: 1.785 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/1.19, allocations: 0 / 0.6661 GB, free: 1.785 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/1.19, allocations: 60.2 kB / 0.6662 GB, free: 1.711 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.492e-06/1.19, allocations: 0 / 0.6662 GB, free: 1.711 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002045/1.191, allocations: 67.39 kB / 0.6663 GB, free: 1.633 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/1.191, allocations: 85.09 kB / 0.6663 GB, free: 1.531 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.548e-05/1.191, allocations: 89.86 kB / 0.6664 GB, free: 1.434 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/1.191, allocations: 33.83 kB / 0.6665 GB, free: 1.395 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/1.191, allocations: 80.14 kB / 0.6665 GB, free: 1.312 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/1.191, allocations: 0 / 0.6665 GB, free: 1.312 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-06/1.191, allocations: 3.938 kB / 0.6665 GB, free: 1.309 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/1.191, allocations: 310.8 kB / 0.6668 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/1.191, allocations: 0 / 0.6668 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-06/1.191, allocations: 4 kB / 0.6668 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.985e-05/1.191, allocations: 64.2 kB / 0.6669 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.191, allocations: 4.062 kB / 0.6669 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001046/1.191, allocations: 63.39 kB / 0.667 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/1.191, allocations: 37.64 kB / 0.667 GB, free: 0.793 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.191, allocations: 0 / 0.667 GB, free: 0.793 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.191, allocations: 3.938 kB / 0.667 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.402e-06/1.191, allocations: 0 / 0.667 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/1.191, allocations: 0 / 0.667 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/1.191, allocations: 0 / 0.667 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/1.191, allocations: 4 kB / 0.667 GB, free: 0.7852 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.959e-05/1.192, allocations: 139.6 kB / 0.6671 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/1.192, allocations: 0 / 0.6671 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.441e-05/1.192, allocations: 14.66 kB / 0.6672 GB, free: 0.625 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.192, allocations: 0 / 0.6672 GB, free: 0.625 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.192, allocations: 0 / 0.6672 GB, free: 0.625 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.192, allocations: 0 / 0.6672 GB, free: 0.625 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/1.192, allocations: 145.6 kB / 0.6673 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/1.192, allocations: 3.984 kB / 0.6673 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/1.192, allocations: 0 / 0.6673 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/1.192, allocations: 8 kB / 0.6673 GB, free: 432 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/1.192, allocations: 11.94 kB / 0.6673 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.192, allocations: 0 / 0.6673 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.192, allocations: 0 / 0.6673 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/1.192, allocations: 90.83 kB / 0.6674 GB, free: 304 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/1.192, allocations: 77.11 kB / 0.6675 GB, free: 208 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/1.192, allocations: 3.938 kB / 0.6675 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.237e-05/1.192, allocations: 0 / 0.6675 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/1.192, allocations: 4.031 kB / 0.6675 GB, free: 200 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/1.192, allocations: 4 kB / 0.6675 GB, free: 196 kB / 474.7 MB Notification: Performance of sorting global known variables: time 3.059e-05/1.192, allocations: 75.28 kB / 0.6676 GB, free: 120 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.192, allocations: 0 / 0.6676 GB, free: 120 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.01148/1.204, allocations: 1.527 MB / 0.669 GB, free: 14.59 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02108/1.225, allocations: 2.05 MB / 0.6711 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/1.225, allocations: 63.34 kB / 0.6711 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.225, allocations: 0 / 0.6711 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.828e-05/1.225, allocations: 59.39 kB / 0.6712 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/1.225, allocations: 0 / 0.6712 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/1.226, allocations: 82.61 kB / 0.6712 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/1.226, allocations: 0.6733 MB / 0.6719 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.582e-06/1.226, allocations: 0 / 0.6719 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/1.226, allocations: 7.438 kB / 0.6719 GB, free: 11.58 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/1.226, allocations: 4 kB / 0.6719 GB, free: 11.57 MB / 490.7 MB Notification: Performance of Templates: time 0.409/1.635, allocations: 81.39 MB / 0.7514 GB, free: 87.79 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches