Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001832/0.001832, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008265/0.0008264, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2104/0.2104, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003085, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3305/0.446, allocations: 87.06 MB / 0.5638 GB, free: 12.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4462, allocations: 62.47 kB / 0.5638 GB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059/1.505, allocations: 97.18 MB / 0.6587 GB, free: 4.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.796e-06/1.505, allocations: 0 / 0.6587 GB, free: 4.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/1.505, allocations: 0 / 0.6587 GB, free: 4.18 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.003973/1.509, allocations: 444.8 kB / 0.6592 GB, free: 3.691 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.509, allocations: 8.031 kB / 0.6592 GB, free: 3.684 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/1.509, allocations: 3.953 kB / 0.6592 GB, free: 3.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/1.509, allocations: 171 kB / 0.6593 GB, free: 3.473 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/1.509, allocations: 4 kB / 0.6593 GB, free: 3.469 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/1.509, allocations: 4 kB / 0.6593 GB, free: 3.465 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.178e-05/1.509, allocations: 25.7 kB / 0.6594 GB, free: 3.434 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.509, allocations: 0 / 0.6594 GB, free: 3.434 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/1.509, allocations: 0 / 0.6594 GB, free: 3.434 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/1.509, allocations: 0 / 0.6594 GB, free: 3.434 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.59e-05/1.509, allocations: 4 kB / 0.6594 GB, free: 3.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/1.51, allocations: 149.6 kB / 0.6595 GB, free: 3.234 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.629e-05/1.51, allocations: 26.55 kB / 0.6595 GB, free: 3.199 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/1.51, allocations: 0 / 0.6595 GB, free: 3.199 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/1.51, allocations: 60.27 kB / 0.6596 GB, free: 3.125 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/1.51, allocations: 0 / 0.6596 GB, free: 3.125 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001959/1.51, allocations: 63.45 kB / 0.6597 GB, free: 3.051 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/1.51, allocations: 77.11 kB / 0.6597 GB, free: 2.957 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.754e-05/1.51, allocations: 85 kB / 0.6598 GB, free: 2.867 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/1.51, allocations: 25.7 kB / 0.6598 GB, free: 2.836 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/1.51, allocations: 84.27 kB / 0.6599 GB, free: 2.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/1.51, allocations: 8 kB / 0.6599 GB, free: 2.742 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/1.51, allocations: 0 / 0.6599 GB, free: 2.742 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/1.51, allocations: 314.8 kB / 0.6602 GB, free: 2.426 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-06/1.51, allocations: 3.938 kB / 0.6602 GB, free: 2.422 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-06/1.51, allocations: 0 / 0.6602 GB, free: 2.422 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/1.51, allocations: 30.42 kB / 0.6603 GB, free: 2.387 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.51, allocations: 3.938 kB / 0.6603 GB, free: 2.383 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.752e-05/1.51, allocations: 67.45 kB / 0.6603 GB, free: 2.305 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/1.51, allocations: 29.7 kB / 0.6603 GB, free: 2.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.51, allocations: 0 / 0.6603 GB, free: 2.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.51, allocations: 0 / 0.6603 GB, free: 2.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/1.51, allocations: 3.938 kB / 0.6604 GB, free: 2.266 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/1.51, allocations: 0 / 0.6604 GB, free: 2.266 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/1.51, allocations: 4 kB / 0.6604 GB, free: 2.262 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/1.51, allocations: 0 / 0.6604 GB, free: 2.262 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 () * 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.078e-05/1.511, allocations: 147.5 kB / 0.6605 GB, free: 2.102 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-06/1.511, allocations: 8.031 kB / 0.6605 GB, free: 2.094 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.516e-05/1.511, allocations: 3.125 kB / 0.6605 GB, free: 2.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/1.511, allocations: 0 / 0.6605 GB, free: 2.09 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/1.511, allocations: 0 / 0.6605 GB, free: 2.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/1.511, allocations: 3.938 kB / 0.6605 GB, free: 2.086 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.565e-05/1.511, allocations: 145.6 kB / 0.6606 GB, free: 1.895 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/1.511, allocations: 0 / 0.6606 GB, free: 1.895 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-06/1.511, allocations: 7.984 kB / 0.6607 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/1.511, allocations: 0 / 0.6607 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/1.511, allocations: 0 / 0.6607 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/1.511, allocations: 0 / 0.6607 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.511, allocations: 4 kB / 0.6607 GB, free: 1.883 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/1.511, allocations: 86.84 kB / 0.6607 GB, free: 1.773 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/1.511, allocations: 85.05 kB / 0.6608 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/1.511, allocations: 0 / 0.6608 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.979e-05/1.511, allocations: 4 kB / 0.6608 GB, free: 1.668 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/1.511, allocations: 4 kB / 0.6608 GB, free: 1.664 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/1.511, allocations: 0 / 0.6608 GB, free: 1.664 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.839e-05/1.511, allocations: 79.31 kB / 0.6609 GB, free: 1.586 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/1.511, allocations: 0 / 0.6609 GB, free: 1.586 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008361/1.519, allocations: 2.156 MB / 0.663 GB, free: 15.43 MB / 474.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.01458/1.534, allocations: 2.261 MB / 0.6652 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/1.534, allocations: 63.34 kB / 0.6653 GB, free: 13.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.534, allocations: 0 / 0.6653 GB, free: 13.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/1.534, allocations: 59.41 kB / 0.6653 GB, free: 13.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/1.534, allocations: 0.7031 kB / 0.6653 GB, free: 13.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/1.535, allocations: 74.75 kB / 0.6654 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/1.535, allocations: 0.6731 MB / 0.6661 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.193e-06/1.535, allocations: 0 / 0.6661 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/1.535, allocations: 11.56 kB / 0.6661 GB, free: 12.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.421e-05/1.535, allocations: 4 kB / 0.6661 GB, free: 12.2 MB / 474.7 MB Notification: Performance of Templates: time 0.4784/2.013, allocations: 123.9 MB / 0.7871 GB, free: 98.57 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches