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.001557/0.001557, allocations: 176.2 kB / 16.76 MB, free: 5.055 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.396/1.396, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007334/0.0007335, allocations: 86.41 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3323/0.3323, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003825, allocations: 16 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2924/0.4049, allocations: 87.09 MB / 0.565 GB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4052, allocations: 63.97 kB / 0.5651 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9569/1.362, allocations: 78.77 MB / 0.642 GB, free: 0 / 458.7 MB Notification: Performance of FrontEnd: time 2.925e-06/1.362, allocations: 0 / 0.642 GB, free: 0 / 458.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/1.362, allocations: 4.047 kB / 0.642 GB, free: 15.99 MB / 474.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.003844/1.366, allocations: 449 kB / 0.6424 GB, free: 15.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.366, allocations: 8.031 kB / 0.6424 GB, free: 15.49 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/1.366, allocations: 0.9375 kB / 0.6424 GB, free: 15.49 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/1.366, allocations: 160.4 kB / 0.6426 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/1.366, allocations: 4.375 kB / 0.6426 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/1.366, allocations: 384 / 0.6426 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/1.366, allocations: 34.2 kB / 0.6426 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.366, allocations: 192 / 0.6426 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.366, allocations: 11.94 kB / 0.6426 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/1.366, allocations: 0 / 0.6426 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/1.366, allocations: 7.922 kB / 0.6426 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/1.367, allocations: 145.4 kB / 0.6428 GB, free: 15.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.315e-05/1.367, allocations: 18.61 kB / 0.6428 GB, free: 15.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/1.367, allocations: 4.859 kB / 0.6428 GB, free: 15.01 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/1.367, allocations: 0 / 0.6428 GB, free: 15.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/1.367, allocations: 68.27 kB / 0.6429 GB, free: 14.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/1.367, allocations: 4 kB / 0.6429 GB, free: 14.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.000201/1.367, allocations: 63.33 kB / 0.6429 GB, free: 14.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/1.367, allocations: 81.11 kB / 0.643 GB, free: 14.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.379e-05/1.367, allocations: 90.48 kB / 0.6431 GB, free: 14.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/1.367, allocations: 25.7 kB / 0.6431 GB, free: 14.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/1.367, allocations: 80.14 kB / 0.6432 GB, free: 14.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/1.367, allocations: 0.9375 kB / 0.6432 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/1.367, allocations: 8.125 kB / 0.6432 GB, free: 14.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/1.367, allocations: 311.6 kB / 0.6435 GB, free: 14.22 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/1.367, allocations: 4 kB / 0.6435 GB, free: 14.22 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/1.367, allocations: 3.984 kB / 0.6435 GB, free: 14.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.249e-05/1.367, allocations: 64.2 kB / 0.6436 GB, free: 14.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.367, allocations: 0 / 0.6436 GB, free: 14.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.307e-05/1.367, allocations: 55.41 kB / 0.6436 GB, free: 14.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/1.367, allocations: 37.7 kB / 0.6437 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/1.368, allocations: 8.953 kB / 0.6437 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.368, allocations: 3.938 kB / 0.6437 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/1.368, allocations: 0 / 0.6437 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.368, allocations: 0 / 0.6437 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/1.368, allocations: 0 / 0.6437 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/1.368, allocations: 7.938 kB / 0.6437 GB, free: 14.01 MB / 474.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.517e-05/1.368, allocations: 131.5 kB / 0.6438 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/1.368, allocations: 0 / 0.6438 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.472e-05/1.368, allocations: 11.06 kB / 0.6438 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/1.368, allocations: 4 kB / 0.6438 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.368, allocations: 4 kB / 0.6438 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.368, allocations: 0 / 0.6438 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/1.368, allocations: 149.6 kB / 0.644 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.368, allocations: 0 / 0.644 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/1.368, allocations: 0 / 0.644 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/1.368, allocations: 4 kB / 0.644 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/1.368, allocations: 3.938 kB / 0.644 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/1.368, allocations: 0 / 0.644 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.368, allocations: 0 / 0.644 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.989e-05/1.368, allocations: 94.83 kB / 0.6441 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/1.368, allocations: 79.89 kB / 0.6441 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/1.368, allocations: 3.938 kB / 0.6441 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/1.368, allocations: 4 kB / 0.6441 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/1.368, allocations: 0 / 0.6441 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/1.368, allocations: 7.984 kB / 0.6441 GB, free: 13.42 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.496e-05/1.368, allocations: 75.28 kB / 0.6442 GB, free: 13.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.368, allocations: 0 / 0.6442 GB, free: 13.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007848/1.376, allocations: 2.152 MB / 0.6463 GB, free: 11.19 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.01324/1.389, allocations: 2.263 MB / 0.6485 GB, free: 8.926 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/1.389, allocations: 67.34 kB / 0.6486 GB, free: 8.848 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.39, allocations: 4.062 kB / 0.6486 GB, free: 8.844 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/1.39, allocations: 59.39 kB / 0.6487 GB, free: 8.773 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/1.39, allocations: 0 / 0.6487 GB, free: 8.773 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/1.39, allocations: 73.52 kB / 0.6487 GB, free: 8.676 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/1.39, allocations: 0.6692 MB / 0.6494 GB, free: 7.98 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.801e-06/1.39, allocations: 0 / 0.6494 GB, free: 7.98 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.244e-05/1.39, allocations: 7.438 kB / 0.6494 GB, free: 7.973 MB / 474.7 MB Notification: Performance of SimCode: time 5.41e-07/1.39, allocations: 0 / 0.6494 GB, free: 7.973 MB / 474.7 MB Notification: Performance of Templates: time 0.428/1.818, allocations: 114.6 MB / 0.7613 GB, free: 78.61 MB / 490.7 MB 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/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_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches