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.001199/0.001199, allocations: 110.1 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.684/1.684, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2367/0.2367, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 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.001924/0.001925, allocations: 69.47 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1433, allocations: 57.78 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.002123/0.1455, allocations: 0.5066 MB / 0.4884 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.1487, allocations: 2.081 MB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.1487, allocations: 0 / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.1487, allocations: 0 / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.233e-06/0.1488, allocations: 0 / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.1504, allocations: 0.4909 MB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.1505, allocations: 0 / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.1506, allocations: 7.984 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.1506, allocations: 3.938 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.82e-05/0.1506, allocations: 3.984 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.613e-06/0.1506, allocations: 0 / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.1517, allocations: 0.6123 MB / 0.4915 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.1518, allocations: 0 / 0.4915 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.1518, allocations: 3.984 kB / 0.4915 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008185/0.1526, allocations: 383.3 kB / 0.4919 GB, free: 7.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1526, allocations: 3.938 kB / 0.4919 GB, free: 7.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1526, allocations: 0 / 0.4919 GB, free: 7.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1527, allocations: 0 / 0.4919 GB, free: 7.703 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.0005819/0.1532, allocations: 409.3 kB / 0.4923 GB, free: 7.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1533, allocations: 11.89 kB / 0.4923 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.1533, allocations: 4.938 kB / 0.4923 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1535, allocations: 172.4 kB / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1535, allocations: 384 / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.1535, allocations: 4.375 kB / 0.4924 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.654e-05/0.1536, allocations: 34.02 kB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1536, allocations: 3.984 kB / 0.4925 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1536, allocations: 0 / 0.4925 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1536, allocations: 0 / 0.4925 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.143e-05/0.1537, allocations: 3.938 kB / 0.4925 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.1538, allocations: 153.6 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.553e-05/0.1539, allocations: 14.58 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.1539, allocations: 12.86 kB / 0.4927 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-06/0.1539, allocations: 0 / 0.4927 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/0.154, allocations: 64.3 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.154, allocations: 3.938 kB / 0.4927 GB, free: 6.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001792/0.1542, allocations: 71.27 kB / 0.4928 GB, free: 6.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.1543, allocations: 77.11 kB / 0.4929 GB, free: 6.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.738e-05/0.1543, allocations: 89.86 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1543, allocations: 33.83 kB / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.1544, allocations: 80.14 kB / 0.4931 GB, free: 6.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.1544, allocations: 0 / 0.4931 GB, free: 6.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.1545, allocations: 13.72 kB / 0.4931 GB, free: 6.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1546, allocations: 310.8 kB / 0.4934 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.1546, allocations: 0 / 0.4934 GB, free: 5.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-06/0.1546, allocations: 4 kB / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.334e-05/0.1547, allocations: 60.31 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1547, allocations: 11.94 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.824e-05/0.1548, allocations: 59.41 kB / 0.4935 GB, free: 5.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.1548, allocations: 37.64 kB / 0.4935 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1549, allocations: 4 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1549, allocations: 0 / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.074e-06/0.1549, allocations: 3.984 kB / 0.4935 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1549, allocations: 0 / 0.4935 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.1549, allocations: 0 / 0.4935 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1549, allocations: 0 / 0.4935 GB, free: 5.719 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.356e-05/0.155, allocations: 143.5 kB / 0.4937 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.155, allocations: 3.938 kB / 0.4937 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.273e-05/0.155, allocations: 3.125 kB / 0.4937 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1551, allocations: 4 kB / 0.4937 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1551, allocations: 0 / 0.4937 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1551, allocations: 0 / 0.4937 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.1552, allocations: 149.7 kB / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1552, allocations: 0 / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.12e-07/0.1552, allocations: 0 / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1552, allocations: 3.938 kB / 0.4938 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1552, allocations: 8 kB / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1552, allocations: 0 / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1552, allocations: 3.938 kB / 0.4938 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.1553, allocations: 90.83 kB / 0.4939 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.1554, allocations: 77.11 kB / 0.494 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.1554, allocations: 7.875 kB / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.1554, allocations: 0 / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.1554, allocations: 4.031 kB / 0.494 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1555, allocations: 4 kB / 0.494 GB, free: 5.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.433e-05/0.1555, allocations: 75.28 kB / 0.4941 GB, free: 5.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1555, allocations: 0 / 0.4941 GB, free: 5.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004785/0.156, allocations: 123.9 kB / 0.4942 GB, free: 4.918 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007724/0.1568, allocations: 309.5 kB / 0.4945 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.1569, allocations: 59.34 kB / 0.4946 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1569, allocations: 0 / 0.4946 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.1569, allocations: 55.41 kB / 0.4946 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.1571, allocations: 3.938 kB / 0.4946 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.1573, allocations: 88.91 kB / 0.4947 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.1576, allocations: 0.6729 MB / 0.4954 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.783e-06/0.1576, allocations: 128 / 0.4954 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.1577, allocations: 11.44 kB / 0.4954 GB, free: 3.641 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1577, allocations: 0 / 0.4954 GB, free: 3.641 MB / 382.1 MB Notification: Performance of Templates: time 0.00792/0.1656, allocations: 3.431 MB / 0.4987 GB, free: 216 kB / 382.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches