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.001009/0.00101, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007819/0.000782, allocations: 100.8 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.186/0.186, allocations: 45.15 MB / 383.8 MB, free: 312 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.609e-05/1.611e-05, allocations: 0 / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09492/0.09495, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.4831, allocations: 89.88 MB / 0.5921 GB, free: 12.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4834, allocations: 62.53 kB / 0.5922 GB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7385/1.222, allocations: 71.69 MB / 0.6622 GB, free: 13.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.222, allocations: 0 / 0.6622 GB, free: 13.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/1.222, allocations: 0 / 0.6622 GB, free: 13.12 MB / 458.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.003979/1.226, allocations: 466.6 kB / 0.6626 GB, free: 12.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.226, allocations: 16.02 kB / 0.6627 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/1.226, allocations: 3.953 kB / 0.6627 GB, free: 12.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.844e-05/1.226, allocations: 159.1 kB / 0.6628 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/1.226, allocations: 0 / 0.6628 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/1.226, allocations: 4 kB / 0.6628 GB, free: 12.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.725e-05/1.226, allocations: 0 / 0.6628 GB, free: 12.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.52e-05/1.226, allocations: 29.7 kB / 0.6628 GB, free: 12.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/1.226, allocations: 0 / 0.6628 GB, free: 12.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/1.226, allocations: 0 / 0.6628 GB, free: 12.37 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/1.226, allocations: 3.953 kB / 0.6628 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/1.227, allocations: 130.2 kB / 0.663 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.184e-05/1.227, allocations: 25.8 kB / 0.663 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/1.227, allocations: 8.859 kB / 0.663 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/1.227, allocations: 0 / 0.663 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/1.227, allocations: 56.27 kB / 0.6631 GB, free: 12.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/1.227, allocations: 4.062 kB / 0.6631 GB, free: 12.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002078/1.227, allocations: 29.7 kB / 0.6631 GB, free: 12.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/1.227, allocations: 84.41 kB / 0.6632 GB, free: 11.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.771e-05/1.227, allocations: 85 kB / 0.6633 GB, free: 11.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/1.227, allocations: 29.73 kB / 0.6633 GB, free: 11.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/1.227, allocations: 84.14 kB / 0.6634 GB, free: 11.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/1.227, allocations: 0 / 0.6634 GB, free: 11.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/1.227, allocations: 0 / 0.6634 GB, free: 11.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/1.227, allocations: 314.8 kB / 0.6637 GB, free: 11.42 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-06/1.227, allocations: 7.875 kB / 0.6637 GB, free: 11.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-06/1.227, allocations: 0 / 0.6637 GB, free: 11.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.388e-05/1.227, allocations: 4.75 kB / 0.6637 GB, free: 11.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.227, allocations: 64 / 0.6637 GB, free: 11.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.121e-05/1.227, allocations: 41.31 kB / 0.6637 GB, free: 11.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/1.227, allocations: 33.7 kB / 0.6637 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.227, allocations: 0 / 0.6637 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.227, allocations: 0 / 0.6637 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/1.227, allocations: 0 / 0.6637 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/1.227, allocations: 0 / 0.6637 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.246e-05/1.227, allocations: 3.938 kB / 0.6638 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/1.227, allocations: 4 kB / 0.6638 GB, free: 11.32 MB / 458.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 () * 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 7.67e-05/1.228, allocations: 138.7 kB / 0.6639 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-06/1.228, allocations: 3.906 kB / 0.6639 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.507e-05/1.228, allocations: 7.703 kB / 0.6639 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.228, allocations: 7.984 kB / 0.6639 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.228, allocations: 0 / 0.6639 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/1.228, allocations: 0 / 0.6639 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.74e-05/1.228, allocations: 122.2 kB / 0.664 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/1.228, allocations: 0 / 0.664 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-06/1.228, allocations: 7.891 kB / 0.664 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.228, allocations: 0 / 0.664 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/1.228, allocations: 4 kB / 0.664 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.228, allocations: 4 kB / 0.664 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.228, allocations: 0 / 0.664 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/1.228, allocations: 64.48 kB / 0.6641 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/1.228, allocations: 81.11 kB / 0.6642 GB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/1.228, allocations: 3.953 kB / 0.6642 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-06/1.228, allocations: 0 / 0.6642 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/1.228, allocations: 0 / 0.6642 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/1.228, allocations: 8.016 kB / 0.6642 GB, free: 10.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.123e-05/1.228, allocations: 75.28 kB / 0.6643 GB, free: 10.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.228, allocations: 0 / 0.6643 GB, free: 10.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006678/1.235, allocations: 1.533 MB / 0.6658 GB, free: 9.199 MB / 458.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) * 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.01295/1.248, allocations: 2.058 MB / 0.6678 GB, free: 7.137 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/1.248, allocations: 55.41 kB / 0.6678 GB, free: 7.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.248, allocations: 0 / 0.6678 GB, free: 7.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.882e-05/1.248, allocations: 55.41 kB / 0.6679 GB, free: 7.004 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/1.248, allocations: 0 / 0.6679 GB, free: 7.004 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/1.248, allocations: 47.52 kB / 0.6679 GB, free: 6.938 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/1.249, allocations: 0.6768 MB / 0.6686 GB, free: 6.234 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.404e-06/1.249, allocations: 4.125 kB / 0.6686 GB, free: 6.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/1.249, allocations: 7.438 kB / 0.6686 GB, free: 6.223 MB / 458.7 MB Notification: Performance of SimCode: time 4.11e-07/1.249, allocations: 0 / 0.6686 GB, free: 6.223 MB / 458.7 MB Notification: Performance of Templates: time 0.4159/1.665, allocations: 88.35 MB / 0.7549 GB, free: 121.3 MB / 0.5261 GB 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/jenkins/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