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.001841/0.001841, allocations: 100.6 kB / 16.27 MB, free: 6.34 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.001682/0.001682, allocations: 187.9 kB / 17.19 MB, free: 5.957 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.75/1.75, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2516/0.2516, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001695/0.001695, allocations: 67.88 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1381, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.003253/0.1415, allocations: 0.5013 MB / 441 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002984/0.1445, allocations: 2.071 MB / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.1445, allocations: 0 / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.1446, allocations: 0 / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.165e-06/0.1447, allocations: 0 / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.146, allocations: 0.4979 MB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.371e-05/0.1461, allocations: 4 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/0.1461, allocations: 0 / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.812e-05/0.1462, allocations: 4 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.806e-05/0.1462, allocations: 3.984 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.1462, allocations: 0 / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007926/0.147, allocations: 0.6083 MB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.147, allocations: 4 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.1471, allocations: 3.984 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.1475, allocations: 375.6 kB / 444.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1475, allocations: 4 kB / 444.6 MB, free: 2.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1476, allocations: 0 / 444.6 MB, free: 2.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.1476, allocations: 0 / 444.6 MB, free: 2.812 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.0004145/0.148, allocations: 413.2 kB / 445 MB, free: 2.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.148, allocations: 11.89 kB / 445 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1481, allocations: 8.828 kB / 445 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.131e-05/0.1481, allocations: 164.3 kB / 445.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1482, allocations: 4.375 kB / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.1482, allocations: 384 / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.1483, allocations: 37.95 kB / 445.2 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1483, allocations: 4 kB / 445.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1483, allocations: 4 kB / 445.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1483, allocations: 0 / 445.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.897e-05/0.1483, allocations: 3.984 kB / 445.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.1485, allocations: 145.7 kB / 445.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.569e-05/0.1485, allocations: 18.61 kB / 445.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.1485, allocations: 4.859 kB / 445.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.1485, allocations: 0 / 445.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.1486, allocations: 76.2 kB / 445.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1486, allocations: 0 / 445.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001741/0.1488, allocations: 63.39 kB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1488, allocations: 77.11 kB / 445.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.374e-05/0.1488, allocations: 89.86 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.1489, allocations: 25.7 kB / 445.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.486e-05/0.1489, allocations: 80.14 kB / 445.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.1489, allocations: 0 / 445.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.1489, allocations: 21.78 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.683e-05/0.149, allocations: 314.8 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.149, allocations: 0 / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.149, allocations: 3.984 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.1491, allocations: 68.2 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1491, allocations: 0 / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.974e-05/0.1491, allocations: 63.41 kB / 446.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.1491, allocations: 33.64 kB / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1492, allocations: 12.08 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1492, allocations: 0 / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.1492, allocations: 0 / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1492, allocations: 0 / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.1492, allocations: 0 / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1492, allocations: 0 / 446.3 MB, free: 0.8281 MB / 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 5.686e-05/0.1493, allocations: 139.5 kB / 446.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.1493, allocations: 3.938 kB / 446.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.038e-05/0.1493, allocations: 3.125 kB / 446.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.1493, allocations: 4 kB / 446.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1493, allocations: 0 / 446.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1493, allocations: 4 kB / 446.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.606e-05/0.1494, allocations: 149.7 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1494, allocations: 3.938 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1494, allocations: 3.938 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1494, allocations: 3.938 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1494, allocations: 0 / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1494, allocations: 4 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1494, allocations: 0 / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.521e-05/0.1495, allocations: 90.83 kB / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.1496, allocations: 81.11 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.1496, allocations: 3.938 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.816e-06/0.1496, allocations: 0 / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.1496, allocations: 0 / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1496, allocations: 3.984 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of sorting global known variables: time 1.468e-05/0.1496, allocations: 75.28 kB / 446.9 MB, free: 160 kB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1497, allocations: 4 kB / 446.9 MB, free: 156 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.15, allocations: 128 kB / 447 MB, free: 28 kB / 318.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.0007989/0.1508, allocations: 295.2 kB / 447.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.1509, allocations: 63.34 kB / 447.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.151, allocations: 0 / 447.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.151, allocations: 59.47 kB / 447.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.1511, allocations: 2.812 kB / 447.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000201/0.1514, allocations: 85.06 kB / 447.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1516, allocations: 0.6729 MB / 448.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.221e-06/0.1517, allocations: 0 / 448.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.09e-05/0.1517, allocations: 7.438 kB / 448.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1517, allocations: 0 / 448.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of Templates: time 0.007121/0.1588, allocations: 3.431 MB / 451.6 MB, free: 11.35 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 -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