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.0009032/0.0009033, allocations: 182.9 kB / 13.19 MB, free: 2.121 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.276/1.276, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.000728/0.0007279, allocations: 96.44 kB / 267.1 MB, free: 9.266 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.3521/0.3521, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.901e-05, allocations: 8 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3514/0.4648, allocations: 86.96 MB / 0.5577 GB, free: 2.051 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00017/0.465, allocations: 72.22 kB / 0.5578 GB, free: 1.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9731/1.438, allocations: 97.14 MB / 0.6527 GB, free: 0.75 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.463e-06/1.438, allocations: 4 kB / 0.6527 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/1.438, allocations: 0 / 0.6527 GB, free: 0.7461 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.002733/1.441, allocations: 435.9 kB / 0.6531 GB, free: 276 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.441, allocations: 8.031 kB / 0.6531 GB, free: 268 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/1.441, allocations: 0.8125 kB / 0.6531 GB, free: 268 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.005e-05/1.441, allocations: 159.1 kB / 0.6532 GB, free: 68 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/1.441, allocations: 4 kB / 0.6532 GB, free: 64 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/1.441, allocations: 4 kB / 0.6533 GB, free: 60 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.051e-05/1.441, allocations: 27.08 kB / 0.6533 GB, free: 28 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/1.441, allocations: 0 / 0.6533 GB, free: 28 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/1.441, allocations: 4 kB / 0.6533 GB, free: 24 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.441, allocations: 0 / 0.6533 GB, free: 24 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.558e-05/1.441, allocations: 0 / 0.6533 GB, free: 24 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/1.441, allocations: 161.6 kB / 0.6534 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.717e-05/1.441, allocations: 18.61 kB / 0.6535 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.249e-05/1.441, allocations: 8.859 kB / 0.6535 GB, free: 15.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.012e-06/1.441, allocations: 0 / 0.6535 GB, free: 15.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/1.442, allocations: 61.05 kB / 0.6535 GB, free: 15.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/1.442, allocations: 0 / 0.6535 GB, free: 15.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001341/1.442, allocations: 59.39 kB / 0.6536 GB, free: 15.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/1.442, allocations: 89.05 kB / 0.6537 GB, free: 15.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.952e-05/1.442, allocations: 85.62 kB / 0.6537 GB, free: 15.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/1.442, allocations: 29.73 kB / 0.6538 GB, free: 15.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/1.442, allocations: 80.14 kB / 0.6538 GB, free: 15.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/1.442, allocations: 1.25 kB / 0.6538 GB, free: 15.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-06/1.442, allocations: 0 / 0.6538 GB, free: 15.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.423e-05/1.442, allocations: 314.8 kB / 0.6541 GB, free: 15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-06/1.442, allocations: 7.938 kB / 0.6542 GB, free: 15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/1.442, allocations: 0 / 0.6542 GB, free: 15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/1.442, allocations: 25.7 kB / 0.6542 GB, free: 14.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.442, allocations: 4.062 kB / 0.6542 GB, free: 14.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.792e-05/1.442, allocations: 67.39 kB / 0.6542 GB, free: 14.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/1.442, allocations: 29.7 kB / 0.6543 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.442, allocations: 5.594 kB / 0.6543 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/1.442, allocations: 0 / 0.6543 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/1.442, allocations: 0 / 0.6543 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.442, allocations: 3.938 kB / 0.6543 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/1.442, allocations: 0 / 0.6543 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/1.442, allocations: 0.9375 kB / 0.6543 GB, free: 14.84 MB / 490.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 () * 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 7.5e-05/1.442, allocations: 143.8 kB / 0.6544 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-06/1.442, allocations: 0 / 0.6544 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.11e-05/1.442, allocations: 3.125 kB / 0.6544 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/1.442, allocations: 0 / 0.6544 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.442, allocations: 0 / 0.6544 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/1.442, allocations: 0 / 0.6544 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.595e-05/1.442, allocations: 149.6 kB / 0.6546 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/1.442, allocations: 0 / 0.6546 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-06/1.442, allocations: 3.984 kB / 0.6546 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/1.442, allocations: 0 / 0.6546 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/1.442, allocations: 0 / 0.6546 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/1.442, allocations: 6.062 kB / 0.6546 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.442, allocations: 7.984 kB / 0.6546 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.564e-05/1.443, allocations: 86.8 kB / 0.6547 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/1.443, allocations: 81.09 kB / 0.6547 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/1.443, allocations: 4 kB / 0.6548 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-06/1.443, allocations: 0 / 0.6548 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/1.443, allocations: 3.938 kB / 0.6548 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/1.443, allocations: 4.031 kB / 0.6548 GB, free: 14.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.89e-05/1.443, allocations: 79.28 kB / 0.6548 GB, free: 14.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.443, allocations: 0 / 0.6548 GB, free: 14.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006662/1.449, allocations: 2.156 MB / 0.6569 GB, free: 12.02 MB / 490.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) * 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.01079/1.46, allocations: 2.262 MB / 0.6591 GB, free: 9.758 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/1.46, allocations: 59.34 kB / 0.6592 GB, free: 9.688 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.46, allocations: 4 kB / 0.6592 GB, free: 9.684 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.71e-05/1.46, allocations: 59.34 kB / 0.6593 GB, free: 9.613 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.107e-05/1.46, allocations: 4 kB / 0.6593 GB, free: 9.609 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001419/1.461, allocations: 47.2 kB / 0.6593 GB, free: 9.543 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/1.461, allocations: 0.6809 MB / 0.66 GB, free: 8.836 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.518e-06/1.461, allocations: 128 / 0.66 GB, free: 8.836 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.024e-05/1.461, allocations: 11.44 kB / 0.66 GB, free: 8.824 MB / 490.7 MB Notification: Performance of SimCode: time 3.6e-07/1.461, allocations: 0 / 0.66 GB, free: 8.824 MB / 490.7 MB Notification: Performance of Templates: time 0.3757/1.837, allocations: 123.9 MB / 0.781 GB, free: 60.54 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/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