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.0009919/0.0009921, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008247/0.0008247, allocations: 98.45 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2801/0.2801, allocations: 45.24 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 8 kB / 468.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3202, allocations: 63.24 MB / 0.5192 GB, free: 43.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.4254, allocations: 90.61 MB / 0.6077 GB, free: 15.03 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.4256, allocations: 75.91 kB / 0.6077 GB, free: 14.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7062/1.132, allocations: 72.02 MB / 0.6781 GB, free: 6.859 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.845e-06/1.132, allocations: 0 / 0.6781 GB, free: 6.859 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/1.132, allocations: 0 / 0.6781 GB, free: 6.859 MB / 490.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.003606/1.136, allocations: 472.7 kB / 0.6785 GB, free: 6.344 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.136, allocations: 8.031 kB / 0.6785 GB, free: 6.336 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/1.136, allocations: 3.953 kB / 0.6785 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/1.136, allocations: 159.1 kB / 0.6787 GB, free: 6.137 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/1.136, allocations: 4 kB / 0.6787 GB, free: 6.133 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/1.136, allocations: 8 kB / 0.6787 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.278e-05/1.136, allocations: 33.62 kB / 0.6787 GB, free: 6.086 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/1.136, allocations: 0 / 0.6787 GB, free: 6.086 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/1.136, allocations: 0 / 0.6787 GB, free: 6.086 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/1.136, allocations: 0 / 0.6787 GB, free: 6.086 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/1.136, allocations: 7.953 kB / 0.6787 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/1.136, allocations: 145.7 kB / 0.6789 GB, free: 5.887 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.237e-05/1.136, allocations: 18.61 kB / 0.6789 GB, free: 5.859 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/1.136, allocations: 11.92 kB / 0.6789 GB, free: 5.848 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/1.136, allocations: 64.19 kB / 0.679 GB, free: 5.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/1.136, allocations: 0 / 0.679 GB, free: 5.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001763/1.136, allocations: 63.47 kB / 0.679 GB, free: 5.695 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/1.136, allocations: 77.11 kB / 0.6791 GB, free: 5.602 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.611e-05/1.137, allocations: 85 kB / 0.6792 GB, free: 5.512 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/1.137, allocations: 25.7 kB / 0.6792 GB, free: 5.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/1.137, allocations: 84.27 kB / 0.6793 GB, free: 5.395 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/1.137, allocations: 4 kB / 0.6793 GB, free: 5.391 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/1.137, allocations: 0 / 0.6793 GB, free: 5.391 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/1.137, allocations: 318.8 kB / 0.6796 GB, free: 5.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/1.137, allocations: 0 / 0.6796 GB, free: 5.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-06/1.137, allocations: 0 / 0.6796 GB, free: 5.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/1.137, allocations: 29.7 kB / 0.6796 GB, free: 5.035 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.137, allocations: 0 / 0.6796 GB, free: 5.035 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.429e-05/1.137, allocations: 67.34 kB / 0.6797 GB, free: 4.957 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/1.137, allocations: 35.83 kB / 0.6797 GB, free: 4.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.137, allocations: 0 / 0.6797 GB, free: 4.918 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/1.137, allocations: 3.984 kB / 0.6797 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/1.137, allocations: 0 / 0.6797 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/1.137, allocations: 0 / 0.6797 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/1.137, allocations: 4 kB / 0.6797 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/1.137, allocations: 3.938 kB / 0.6797 GB, free: 4.906 MB / 490.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 8.161e-05/1.137, allocations: 135.5 kB / 0.6799 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-06/1.137, allocations: 4 kB / 0.6799 GB, free: 4.754 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.454e-05/1.137, allocations: 10.72 kB / 0.6799 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/1.137, allocations: 0 / 0.6799 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.137, allocations: 0 / 0.6799 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/1.137, allocations: 0 / 0.6799 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.777e-05/1.137, allocations: 153.6 kB / 0.68 GB, free: 4.551 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/1.137, allocations: 0 / 0.68 GB, free: 4.551 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/1.137, allocations: 4 kB / 0.68 GB, free: 4.547 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/1.137, allocations: 0 / 0.68 GB, free: 4.547 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/1.137, allocations: 0 / 0.68 GB, free: 4.547 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/1.137, allocations: 0 / 0.68 GB, free: 4.547 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.137, allocations: 0 / 0.68 GB, free: 4.547 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.144e-05/1.137, allocations: 106.7 kB / 0.6801 GB, free: 4.418 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/1.137, allocations: 77.11 kB / 0.6802 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/1.137, allocations: 0 / 0.6802 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/1.137, allocations: 4 kB / 0.6802 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/1.137, allocations: 0 / 0.6802 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/1.137, allocations: 0 / 0.6802 GB, free: 4.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.682e-05/1.138, allocations: 75.28 kB / 0.6803 GB, free: 4.246 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.138, allocations: 4.031 kB / 0.6803 GB, free: 4.242 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006899/1.144, allocations: 1.531 MB / 0.6818 GB, free: 2.711 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.01054/1.155, allocations: 2.051 MB / 0.6838 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/1.155, allocations: 63.34 kB / 0.6838 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.155, allocations: 0 / 0.6838 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/1.155, allocations: 59.34 kB / 0.6839 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.196e-05/1.155, allocations: 0.8594 kB / 0.6839 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002148/1.156, allocations: 85.2 kB / 0.684 GB, free: 416 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/1.156, allocations: 0.6692 MB / 0.6846 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.615e-06/1.156, allocations: 0 / 0.6846 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.169e-05/1.156, allocations: 11.56 kB / 0.6846 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/1.156, allocations: 4 kB / 0.6846 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.3292/1.485, allocations: 87.46 MB / 0.7701 GB, free: 97.47 MB / 0.4948 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