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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 175.7 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.353/0.353, allocations: 43.54 MB / 314.5 MB, free: 9.039 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005767/0.000577, allocations: 12 kB / 383.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.131, allocations: 58.85 MB / 442.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.0007044/0.1317, allocations: 232.4 kB / 443 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.1351, allocations: 1.971 MB / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.1351, allocations: 7.938 kB / 445 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.1352, allocations: 0 / 445 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.372e-06/0.1352, allocations: 0 / 445 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.137, allocations: 403.1 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.466e-05/0.137, allocations: 7.938 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.1371, allocations: 3.984 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.1371, allocations: 3.984 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.586e-05/0.1371, allocations: 4 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.1371, allocations: 4 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1383, allocations: 0.5929 MB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.1384, allocations: 4 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.1384, allocations: 25.7 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005452/0.139, allocations: 247.6 kB / 446.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.139, allocations: 0 / 446.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.139, allocations: 0 / 446.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.139, allocations: 3.938 kB / 446.2 MB, free: 9.805 MB / 382.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.0005746/0.1396, allocations: 409.3 kB / 446.6 MB, free: 9.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1396, allocations: 12.03 kB / 446.6 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.1397, allocations: 3.953 kB / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.1398, allocations: 163 kB / 446.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1398, allocations: 4 kB / 446.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.1399, allocations: 0 / 446.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.14, allocations: 29.69 kB / 446.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.14, allocations: 0 / 446.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.14, allocations: 4 kB / 446.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.14, allocations: 0 / 446.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.063e-05/0.14, allocations: 3.953 kB / 446.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.1402, allocations: 149.7 kB / 447 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.501e-05/0.1403, allocations: 22.55 kB / 447 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.1403, allocations: 0 / 447 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/0.1404, allocations: 56.27 kB / 447.1 MB, free: 8.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.1404, allocations: 0 / 447.1 MB, free: 8.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000213/0.1406, allocations: 71.36 kB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.1406, allocations: 81.23 kB / 447.2 MB, free: 8.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.75e-05/0.1407, allocations: 93.8 kB / 447.3 MB, free: 8.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1407, allocations: 29.7 kB / 447.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.1408, allocations: 80.14 kB / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.1408, allocations: 0 / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.1408, allocations: 0 / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1409, allocations: 318.7 kB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.1409, allocations: 7.922 kB / 447.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.022e-05/0.141, allocations: 8 kB / 447.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.141, allocations: 29.7 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.141, allocations: 0 / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.628e-05/0.1411, allocations: 59.41 kB / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.1412, allocations: 29.7 kB / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.1412, allocations: 0 / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1412, allocations: 3.984 kB / 447.9 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-06/0.1412, allocations: 4 kB / 447.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1412, allocations: 0 / 447.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.1412, allocations: 96 / 447.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1412, allocations: 4 kB / 447.9 MB, free: 7.906 MB / 382.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 () * 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 0.000144/0.1414, allocations: 143.5 kB / 448 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.1414, allocations: 0 / 448 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.618e-05/0.1414, allocations: 7.125 kB / 448 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1414, allocations: 0 / 448 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1415, allocations: 3.938 kB / 448 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1415, allocations: 4 kB / 448 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.1416, allocations: 153.6 kB / 448.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1416, allocations: 0 / 448.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1416, allocations: 4 kB / 448.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1416, allocations: 0 / 448.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1416, allocations: 0 / 448.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1416, allocations: 0 / 448.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1416, allocations: 0 / 448.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.282e-05/0.1417, allocations: 94.78 kB / 448.3 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.1418, allocations: 77.11 kB / 448.4 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1418, allocations: 4 kB / 448.4 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-06/0.1418, allocations: 4.031 kB / 448.4 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.1418, allocations: 0 / 448.4 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1418, allocations: 3.938 kB / 448.4 MB, free: 7.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.441e-05/0.1419, allocations: 79.27 kB / 448.4 MB, free: 7.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1419, allocations: 0 / 448.4 MB, free: 7.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004596/0.1423, allocations: 124 kB / 448.6 MB, free: 7.109 MB / 382.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) * 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.0008788/0.1432, allocations: 318.6 kB / 448.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.378e-05/0.1433, allocations: 55.41 kB / 448.9 MB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1433, allocations: 0 / 448.9 MB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/0.1434, allocations: 55.41 kB / 449 MB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.662e-05/0.1434, allocations: 7.953 kB / 449 MB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.1437, allocations: 82.69 kB / 449.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.1439, allocations: 0.6772 MB / 449.7 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.822e-06/0.1439, allocations: 0 / 449.7 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.37e-05/0.144, allocations: 7.438 kB / 449.8 MB, free: 5.836 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.144, allocations: 0 / 449.8 MB, free: 5.836 MB / 382.1 MB Notification: Performance of Templates: time 0.008081/0.152, allocations: 3.448 MB / 453.2 MB, free: 2.387 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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