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/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.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001796/0.001796, allocations: 196.2 kB / 18.1 MB, free: 3.598 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008541/0.0008541, allocations: 103.5 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.391/0.391, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 11.98 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3206, allocations: 62.96 MB / 0.5184 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.4373, allocations: 89.04 MB / 0.6054 GB, free: 252 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.4376, allocations: 75.95 kB / 0.6054 GB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9725/1.41, allocations: 78.87 MB / 0.6825 GB, free: 1.172 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.41, allocations: 0 / 0.6825 GB, free: 1.172 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/1.41, allocations: 0 / 0.6825 GB, free: 1.172 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.003697/1.414, allocations: 445 kB / 0.6829 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.414, allocations: 8.031 kB / 0.6829 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/1.414, allocations: 0.9375 kB / 0.6829 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.823e-05/1.414, allocations: 160.4 kB / 0.6831 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/1.414, allocations: 4.375 kB / 0.6831 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/1.414, allocations: 384 / 0.6831 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.636e-05/1.414, allocations: 34.25 kB / 0.6831 GB, free: 444 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/1.414, allocations: 4.188 kB / 0.6831 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/1.414, allocations: 3.938 kB / 0.6831 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/1.414, allocations: 0 / 0.6831 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/1.414, allocations: 0 / 0.6831 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/1.414, allocations: 145.7 kB / 0.6832 GB, free: 240 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.025e-05/1.414, allocations: 30.47 kB / 0.6833 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/1.414, allocations: 8.859 kB / 0.6833 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/1.415, allocations: 0 / 0.6833 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/1.415, allocations: 60.33 kB / 0.6833 GB, free: 112 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/1.415, allocations: 0 / 0.6833 GB, free: 112 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002001/1.415, allocations: 67.28 kB / 0.6834 GB, free: 32 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2794/1.694, allocations: 81.62 kB / 0.6835 GB, free: 133.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.814e-05/1.694, allocations: 94.33 kB / 0.6836 GB, free: 133.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/1.694, allocations: 25.7 kB / 0.6836 GB, free: 133.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.493e-05/1.694, allocations: 83.11 kB / 0.6837 GB, free: 133.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/1.694, allocations: 0 / 0.6837 GB, free: 133.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/1.694, allocations: 0 / 0.6837 GB, free: 133.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.631e-05/1.694, allocations: 311.4 kB / 0.684 GB, free: 133 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/1.694, allocations: 2.641 kB / 0.684 GB, free: 133 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.047e-05/1.694, allocations: 0.625 kB / 0.684 GB, free: 133 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/1.695, allocations: 64.58 kB / 0.684 GB, free: 132.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.695, allocations: 0.5312 kB / 0.684 GB, free: 132.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001267/1.695, allocations: 62.97 kB / 0.6841 GB, free: 132.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/1.695, allocations: 33.75 kB / 0.6841 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.695, allocations: 2.5 kB / 0.6841 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.695, allocations: 3.75 kB / 0.6841 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/1.695, allocations: 2.25 kB / 0.6841 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.695, allocations: 3 kB / 0.6841 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/1.695, allocations: 0.75 kB / 0.6841 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/1.695, allocations: 0.75 kB / 0.6841 GB, free: 132.8 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 7.115e-05/1.695, allocations: 139.2 kB / 0.6843 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/1.695, allocations: 0 / 0.6843 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.571e-05/1.695, allocations: 12.34 kB / 0.6843 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/1.695, allocations: 4.562 kB / 0.6843 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.695, allocations: 0.6562 kB / 0.6843 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.695, allocations: 1.094 kB / 0.6843 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.068e-05/1.695, allocations: 152.3 kB / 0.6844 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.695, allocations: 0 / 0.6844 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/1.695, allocations: 1.031 kB / 0.6844 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.695, allocations: 1.078 kB / 0.6844 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/1.695, allocations: 2.594 kB / 0.6844 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/1.695, allocations: 6.75 kB / 0.6844 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.695, allocations: 0 / 0.6844 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/1.695, allocations: 89.16 kB / 0.6845 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/1.695, allocations: 80.48 kB / 0.6846 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/1.695, allocations: 1.469 kB / 0.6846 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.563e-05/1.695, allocations: 6.781 kB / 0.6846 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/1.695, allocations: 0.6875 kB / 0.6846 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/1.695, allocations: 1.094 kB / 0.6846 GB, free: 132.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.469e-05/1.695, allocations: 80.94 kB / 0.6847 GB, free: 132.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.695, allocations: 0.8125 kB / 0.6847 GB, free: 132.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008/1.703, allocations: 2.164 MB / 0.6868 GB, free: 132.2 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.01165/1.715, allocations: 2.276 MB / 0.689 GB, free: 132.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/1.715, allocations: 62.19 kB / 0.6891 GB, free: 132.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.715, allocations: 0 / 0.6891 GB, free: 132.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/1.715, allocations: 54.34 kB / 0.6891 GB, free: 132 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/1.715, allocations: 9.188 kB / 0.6891 GB, free: 132 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001587/1.716, allocations: 74.23 kB / 0.6892 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.373e-05/1.716, allocations: 0.6755 MB / 0.6899 GB, free: 131.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.65e-06/1.716, allocations: 1.938 kB / 0.6899 GB, free: 131.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-06/1.716, allocations: 7.438 kB / 0.6899 GB, free: 131.2 MB / 490.7 MB Notification: Performance of SimCode: time 3.1e-07/1.716, allocations: 0 / 0.6899 GB, free: 131.2 MB / 490.7 MB Notification: Performance of Templates: time 0.1753/1.891, allocations: 114.7 MB / 0.8019 GB, free: 40.99 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches