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.001025/0.001025, allocations: 196.7 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007541/0.0007541, allocations: 94.36 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1865/0.1865, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.431e-05, allocations: 4 kB / 460.4 MB, free: 70.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.09216, allocations: 63.24 MB / 0.5114 GB, free: 6.832 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3444/0.4366, allocations: 89.11 MB / 0.5984 GB, free: 4.926 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.4368, allocations: 65.28 kB / 0.5984 GB, free: 4.895 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01/1.447, allocations: 97.24 MB / 0.6934 GB, free: 12.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.447, allocations: 0 / 0.6934 GB, free: 12.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/1.447, allocations: 7.938 kB / 0.6934 GB, free: 12.32 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.003749/1.451, allocations: 440 kB / 0.6938 GB, free: 11.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.451, allocations: 15.97 kB / 0.6938 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/1.451, allocations: 7.953 kB / 0.6939 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.227e-05/1.451, allocations: 163 kB / 0.694 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/1.451, allocations: 0 / 0.694 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/1.451, allocations: 0 / 0.694 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.632e-05/1.451, allocations: 33.69 kB / 0.694 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/1.451, allocations: 4 kB / 0.694 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/1.451, allocations: 0 / 0.694 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.451, allocations: 0 / 0.694 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/1.451, allocations: 3.953 kB / 0.694 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/1.451, allocations: 145.7 kB / 0.6942 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.15e-05/1.451, allocations: 26.45 kB / 0.6942 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/1.451, allocations: 8.953 kB / 0.6942 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/1.451, allocations: 0 / 0.6942 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/1.451, allocations: 60.27 kB / 0.6943 GB, free: 11.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/1.451, allocations: 0 / 0.6943 GB, free: 11.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001662/1.451, allocations: 63.39 kB / 0.6943 GB, free: 11.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/1.451, allocations: 77.11 kB / 0.6944 GB, free: 11.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.581e-05/1.451, allocations: 85 kB / 0.6945 GB, free: 11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/1.451, allocations: 25.7 kB / 0.6945 GB, free: 10.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/1.452, allocations: 80.14 kB / 0.6946 GB, free: 10.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/1.452, allocations: 4 kB / 0.6946 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-06/1.452, allocations: 7.969 kB / 0.6946 GB, free: 10.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.239e-05/1.452, allocations: 318.8 kB / 0.6949 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-06/1.452, allocations: 0 / 0.6949 GB, free: 10.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/1.452, allocations: 0 / 0.6949 GB, free: 10.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/1.452, allocations: 33.69 kB / 0.6949 GB, free: 10.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.452, allocations: 0 / 0.6949 GB, free: 10.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.055e-05/1.452, allocations: 55.41 kB / 0.695 GB, free: 10.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/1.452, allocations: 33.7 kB / 0.695 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.452, allocations: 4.094 kB / 0.695 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/1.452, allocations: 0 / 0.695 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/1.452, allocations: 0 / 0.695 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/1.452, allocations: 0 / 0.695 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/1.452, allocations: 0 / 0.695 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/1.452, allocations: 7.984 kB / 0.695 GB, free: 10.39 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 () * 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 6.923e-05/1.452, allocations: 136.3 kB / 0.6952 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-06/1.452, allocations: 0 / 0.6952 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.717e-05/1.452, allocations: 7.078 kB / 0.6952 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.452, allocations: 11.94 kB / 0.6952 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.452, allocations: 3.938 kB / 0.6952 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/1.452, allocations: 0 / 0.6952 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.913e-05/1.452, allocations: 153.6 kB / 0.6953 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.452, allocations: 0 / 0.6953 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/1.452, allocations: 0 / 0.6953 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/1.452, allocations: 0 / 0.6953 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/1.452, allocations: 4 kB / 0.6953 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.452, allocations: 3.938 kB / 0.6953 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.452, allocations: 0 / 0.6953 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/1.452, allocations: 101.8 kB / 0.6954 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/1.452, allocations: 77.11 kB / 0.6955 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/1.452, allocations: 0 / 0.6955 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-06/1.452, allocations: 0 / 0.6955 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/1.452, allocations: 0 / 0.6955 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/1.452, allocations: 4 kB / 0.6955 GB, free: 9.801 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.621e-05/1.452, allocations: 75.28 kB / 0.6956 GB, free: 9.727 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.452, allocations: 0 / 0.6956 GB, free: 9.727 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007329/1.46, allocations: 2.168 MB / 0.6977 GB, free: 7.559 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) * 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.01196/1.472, allocations: 2.264 MB / 0.6999 GB, free: 5.293 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/1.472, allocations: 63.41 kB / 0.7 GB, free: 5.219 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.472, allocations: 4.062 kB / 0.7 GB, free: 5.215 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/1.472, allocations: 63.33 kB / 0.7 GB, free: 5.141 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.895e-05/1.472, allocations: 5.359 kB / 0.7 GB, free: 5.137 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001249/1.472, allocations: 45 kB / 0.7001 GB, free: 5.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/1.472, allocations: 0.6809 MB / 0.7008 GB, free: 4.363 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.169e-06/1.472, allocations: 0 / 0.7008 GB, free: 4.363 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.192e-05/1.472, allocations: 7.438 kB / 0.7008 GB, free: 4.355 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/1.472, allocations: 3.938 kB / 0.7008 GB, free: 4.352 MB / 490.7 MB Notification: Performance of Templates: time 0.4307/1.903, allocations: 124 MB / 0.8218 GB, free: 115.9 MB / 0.5261 GB 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/jenkins/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