Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_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.001447/0.001448, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 78.56 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3034/0.3034, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.216e-05/2.228e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4352, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.225/0.6602, allocations: 86.31 MB / 0.5502 GB, free: 13 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/0.6607, allocations: 67.97 kB / 0.5502 GB, free: 12.93 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.381/3.042, allocations: 96.72 MB / 0.6447 GB, free: 146.9 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.084e-06/3.042, allocations: 4.688 kB / 0.6447 GB, free: 146.9 MB / 475.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/3.042, allocations: 3.656 kB / 0.6447 GB, free: 146.9 MB / 475.1 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.005039/3.047, allocations: 429.4 kB / 0.6451 GB, free: 146.5 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/3.047, allocations: 8.312 kB / 0.6451 GB, free: 146.5 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/3.047, allocations: 2.031 kB / 0.6451 GB, free: 146.5 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.617e-05/3.047, allocations: 168.2 kB / 0.6453 GB, free: 146.3 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/3.047, allocations: 1.312 kB / 0.6453 GB, free: 146.3 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/3.047, allocations: 0 / 0.6453 GB, free: 146.3 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.514e-05/3.047, allocations: 2.312 kB / 0.6453 GB, free: 146.3 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.481e-05/3.047, allocations: 40.02 kB / 0.6453 GB, free: 146.3 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/3.047, allocations: 0 / 0.6453 GB, free: 146.3 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/3.048, allocations: 1.219 kB / 0.6453 GB, free: 146.3 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/3.048, allocations: 0 / 0.6453 GB, free: 146.3 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.396e-05/3.048, allocations: 128.4 kB / 0.6455 GB, free: 146.1 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.703e-05/3.048, allocations: 17.05 kB / 0.6455 GB, free: 146.1 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.331e-05/3.048, allocations: 10.14 kB / 0.6455 GB, free: 146.1 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/3.048, allocations: 4.719 kB / 0.6455 GB, free: 146.1 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/3.048, allocations: 58.56 kB / 0.6455 GB, free: 146 MB / 475.1 MB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/3.048, allocations: 0 / 0.6455 GB, free: 146 MB / 475.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001754/3.048, allocations: 37.3 kB / 0.6456 GB, free: 146 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/3.048, allocations: 78.58 kB / 0.6457 GB, free: 145.9 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.146e-05/3.048, allocations: 85 kB / 0.6457 GB, free: 145.8 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/3.048, allocations: 25.7 kB / 0.6458 GB, free: 145.8 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.448e-05/3.048, allocations: 156.9 kB / 0.6459 GB, free: 145.6 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/3.048, allocations: 0 / 0.6459 GB, free: 145.6 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/3.048, allocations: 1.312 kB / 0.6459 GB, free: 145.6 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 5.077e-05/3.048, allocations: 315.7 kB / 0.6462 GB, free: 145.3 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/3.048, allocations: 3.938 kB / 0.6462 GB, free: 145.3 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/3.048, allocations: 0.875 kB / 0.6462 GB, free: 145.3 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.447e-05/3.048, allocations: 2.734 kB / 0.6462 GB, free: 145.3 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/3.048, allocations: 5.219 kB / 0.6462 GB, free: 145.3 MB / 475.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.802e-05/3.048, allocations: 44.72 kB / 0.6463 GB, free: 145.3 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/3.048, allocations: 32.14 kB / 0.6463 GB, free: 145.2 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/3.048, allocations: 0 / 0.6463 GB, free: 145.2 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/3.048, allocations: 1.031 kB / 0.6463 GB, free: 145.2 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.796e-06/3.048, allocations: 0.9062 kB / 0.6463 GB, free: 145.2 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/3.048, allocations: 0 / 0.6463 GB, free: 145.2 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/3.048, allocations: 6.188 kB / 0.6463 GB, free: 145.2 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/3.049, allocations: 1.375 kB / 0.6463 GB, free: 145.2 MB / 475.1 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 8.285e-05/3.049, allocations: 132.7 kB / 0.6464 GB, free: 145.1 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/3.049, allocations: 5.016 kB / 0.6464 GB, free: 145.1 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.305e-05/3.049, allocations: 5.297 kB / 0.6464 GB, free: 145.1 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/3.049, allocations: 0.5625 kB / 0.6464 GB, free: 145.1 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/3.049, allocations: 0 / 0.6464 GB, free: 145.1 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/3.049, allocations: 1.188 kB / 0.6464 GB, free: 145.1 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.863e-05/3.049, allocations: 127.8 kB / 0.6466 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/3.049, allocations: 0 / 0.6466 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/3.049, allocations: 0 / 0.6466 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/3.049, allocations: 4.781 kB / 0.6466 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/3.049, allocations: 1.641 kB / 0.6466 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/3.049, allocations: 3.953 kB / 0.6466 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/3.049, allocations: 4.312 kB / 0.6466 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/3.049, allocations: 65.55 kB / 0.6466 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/3.049, allocations: 79.14 kB / 0.6467 GB, free: 144.8 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/3.049, allocations: 1.156 kB / 0.6467 GB, free: 144.8 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/3.049, allocations: 4.219 kB / 0.6467 GB, free: 144.8 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/3.049, allocations: 5.109 kB / 0.6467 GB, free: 144.8 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/3.049, allocations: 1.75 kB / 0.6467 GB, free: 144.8 MB / 475.1 MB Notification: Performance of sorting global known variables: time 1.558e-05/3.049, allocations: 75.28 kB / 0.6468 GB, free: 144.7 MB / 475.1 MB Notification: Performance of sort global known variables: time 3.8e-07/3.049, allocations: 0 / 0.6468 GB, free: 144.7 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.01377/3.063, allocations: 2.161 MB / 0.6489 GB, free: 144.6 MB / 475.1 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.02056/3.083, allocations: 2.27 MB / 0.6511 GB, free: 144.5 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.0001211/3.084, allocations: 56.81 kB / 0.6512 GB, free: 144.4 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/3.084, allocations: 3.5 kB / 0.6512 GB, free: 144.4 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 2.81e-05/3.084, allocations: 55.48 kB / 0.6512 GB, free: 144.4 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/3.084, allocations: 4.688 kB / 0.6512 GB, free: 144.4 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001721/3.084, allocations: 72.2 kB / 0.6513 GB, free: 144.3 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/3.084, allocations: 0.6767 MB / 0.652 GB, free: 143.6 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.387e-05/3.084, allocations: 9.406 kB / 0.652 GB, free: 143.6 MB / 475.1 MB Notification: Performance of SimCode: time 9.01e-07/3.084, allocations: 0 / 0.652 GB, free: 143.6 MB / 475.1 MB Notification: Performance of Templates: time 0.2671/3.351, allocations: 121 MB / 0.7702 GB, free: 39 MB / 475.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches