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.001272/0.001272, allocations: 108.3 kB / 17.04 MB, free: 5.797 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.001032/0.001032, allocations: 195 kB / 17.98 MB, free: 5.016 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.641/1.641, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2684/0.2683, allocations: 43.52 MB / 314.7 MB, free: 484 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.001489/0.001489, allocations: 69.42 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1538, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001877/0.1557, allocations: 0.4966 MB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.1583, allocations: 2.076 MB / 444.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.1583, allocations: 0 / 444.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.1583, allocations: 4 kB / 444.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.862e-06/0.1583, allocations: 3.938 kB / 444.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.1596, allocations: 0.4907 MB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.511e-05/0.1597, allocations: 7.984 kB / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.1597, allocations: 3.938 kB / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.848e-05/0.1597, allocations: 0 / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.418e-05/0.1598, allocations: 0 / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.1598, allocations: 0 / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007623/0.1606, allocations: 0.6162 MB / 445.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.1606, allocations: 0 / 445.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.1606, allocations: 0 / 445.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.1611, allocations: 387.2 kB / 446 MB, free: 2.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1612, allocations: 0 / 446 MB, free: 2.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1612, allocations: 4 kB / 446 MB, free: 2.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1612, allocations: 0 / 446 MB, free: 2.051 MB / 318.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.000457/0.1616, allocations: 409.3 kB / 446.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.107e-05/0.1617, allocations: 15.89 kB / 446.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.1618, allocations: 4.844 kB / 446.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.653e-05/0.1619, allocations: 164.4 kB / 446.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1619, allocations: 384 / 446.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.1619, allocations: 384 / 446.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.162, allocations: 42.02 kB / 446.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1621, allocations: 3.938 kB / 446.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1621, allocations: 0 / 446.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1621, allocations: 0 / 446.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.723e-05/0.1621, allocations: 7.938 kB / 446.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001103/0.1622, allocations: 145.7 kB / 446.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.388e-05/0.1623, allocations: 14.58 kB / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.1623, allocations: 12.89 kB / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.1623, allocations: 4 kB / 446.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.1624, allocations: 64.2 kB / 446.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.955e-06/0.1624, allocations: 3.984 kB / 446.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001759/0.1626, allocations: 67.33 kB / 447 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.1626, allocations: 77.11 kB / 447.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.238e-05/0.1626, allocations: 89.86 kB / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.792e-06/0.1626, allocations: 25.7 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.204e-05/0.1627, allocations: 84.27 kB / 447.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.1627, allocations: 7.984 kB / 447.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.1627, allocations: 13.72 kB / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.1628, allocations: 310.8 kB / 447.6 MB, free: 284 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-06/0.1628, allocations: 4 kB / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.1628, allocations: 0 / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.662e-05/0.1628, allocations: 64.25 kB / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1628, allocations: 0 / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.157e-05/0.1629, allocations: 71.41 kB / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.1629, allocations: 34.89 kB / 447.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1629, allocations: 0 / 447.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.163, allocations: 0 / 447.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.163, allocations: 0 / 447.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.163, allocations: 0 / 447.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.163, allocations: 7.984 kB / 447.8 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.163, allocations: 0 / 447.8 MB, free: 68 kB / 318.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 9.278e-05/0.1631, allocations: 135.5 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.1631, allocations: 11.97 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.147e-05/0.1631, allocations: 3.125 kB / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1631, allocations: 0 / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1632, allocations: 0 / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1632, allocations: 0 / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.1633, allocations: 149.7 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1633, allocations: 4 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1633, allocations: 0 / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1633, allocations: 3.938 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1633, allocations: 4 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1633, allocations: 0 / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1633, allocations: 11.88 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.409e-05/0.1634, allocations: 94.77 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.1636, allocations: 77.11 kB / 448.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1636, allocations: 3.938 kB / 448.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-06/0.1636, allocations: 4 kB / 448.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.1636, allocations: 0 / 448.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.1636, allocations: 0 / 448.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.634e-05/0.1637, allocations: 79.31 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1637, allocations: 0 / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003941/0.1641, allocations: 127.9 kB / 448.5 MB, free: 15.26 MB / 334.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.000764/0.1648, allocations: 303.2 kB / 448.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.165, allocations: 63.39 kB / 448.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.165, allocations: 0 / 448.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.165, allocations: 59.34 kB / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.1652, allocations: 4 kB / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/0.1654, allocations: 77.06 kB / 448.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1657, allocations: 0.669 MB / 449.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.053e-06/0.1658, allocations: 0 / 449.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.1658, allocations: 11.44 kB / 449.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1658, allocations: 3.938 kB / 449.6 MB, free: 14 MB / 334.1 MB Notification: Performance of Templates: time 0.008351/0.1742, allocations: 3.42 MB / 453.1 MB, free: 10.59 MB / 334.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 -s cvode -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","/var/lib/jenkins1/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