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.0009517/0.0009518, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008258/0.0008258, allocations: 86.64 kB / 261.7 MB, free: 1.617 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.2027/0.2027, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.624e-05/1.625e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5237, allocations: 86.3 MB / 0.5502 GB, free: 8.426 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/0.5239, allocations: 71.28 kB / 0.5503 GB, free: 8.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.068/1.592, allocations: 96.73 MB / 0.6447 GB, free: 1.207 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.129e-06/1.592, allocations: 7.938 kB / 0.6447 GB, free: 1.199 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/1.592, allocations: 0 / 0.6447 GB, free: 1.199 MB / 442.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.004158/1.596, allocations: 428 kB / 0.6452 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/1.596, allocations: 8.031 kB / 0.6452 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/1.596, allocations: 7.891 kB / 0.6452 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/1.596, allocations: 163.1 kB / 0.6453 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/1.596, allocations: 4 kB / 0.6453 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/1.596, allocations: 0 / 0.6453 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.815e-05/1.597, allocations: 4 kB / 0.6453 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.827e-05/1.597, allocations: 33.69 kB / 0.6454 GB, free: 480 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/1.597, allocations: 0 / 0.6454 GB, free: 480 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/1.597, allocations: 0 / 0.6454 GB, free: 480 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/1.597, allocations: 0 / 0.6454 GB, free: 480 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/1.597, allocations: 130.2 kB / 0.6455 GB, free: 312 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/1.597, allocations: 18.52 kB / 0.6455 GB, free: 284 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/1.597, allocations: 12.94 kB / 0.6455 GB, free: 268 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/1.597, allocations: 4 kB / 0.6455 GB, free: 264 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/1.597, allocations: 56.27 kB / 0.6456 GB, free: 192 kB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/1.597, allocations: 0 / 0.6456 GB, free: 192 kB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002391/1.597, allocations: 33.7 kB / 0.6456 GB, free: 152 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/1.597, allocations: 81.11 kB / 0.6457 GB, free: 52 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/1.597, allocations: 85 kB / 0.6458 GB, free: 15.96 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/1.597, allocations: 25.7 kB / 0.6458 GB, free: 15.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/1.597, allocations: 84.17 kB / 0.6459 GB, free: 15.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/1.597, allocations: 0 / 0.6459 GB, free: 15.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/1.597, allocations: 0 / 0.6459 GB, free: 15.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/1.598, allocations: 319.5 kB / 0.6462 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/1.598, allocations: 0 / 0.6462 GB, free: 15.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/1.598, allocations: 0 / 0.6462 GB, free: 15.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.51e-05/1.598, allocations: 11.83 kB / 0.6462 GB, free: 15.51 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.598, allocations: 0 / 0.6462 GB, free: 15.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.635e-05/1.598, allocations: 33.7 kB / 0.6462 GB, free: 15.47 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/1.598, allocations: 37.8 kB / 0.6463 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.598, allocations: 3.984 kB / 0.6463 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.598, allocations: 4.75 kB / 0.6463 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.083e-06/1.598, allocations: 0 / 0.6463 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/1.598, allocations: 0 / 0.6463 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/1.598, allocations: 0 / 0.6463 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/1.598, allocations: 0 / 0.6463 GB, free: 15.42 MB / 458.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 8.277e-05/1.598, allocations: 134.6 kB / 0.6464 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/1.598, allocations: 0 / 0.6464 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/1.598, allocations: 7.75 kB / 0.6464 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/1.598, allocations: 3.938 kB / 0.6464 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/1.598, allocations: 0 / 0.6464 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/1.598, allocations: 0 / 0.6464 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.069e-05/1.598, allocations: 130.2 kB / 0.6465 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.598, allocations: 4 kB / 0.6465 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/1.598, allocations: 0 / 0.6465 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.598, allocations: 3.953 kB / 0.6465 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/1.598, allocations: 0 / 0.6465 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.598, allocations: 0 / 0.6465 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.598, allocations: 0 / 0.6465 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/1.598, allocations: 73.06 kB / 0.6466 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/1.598, allocations: 77.11 kB / 0.6467 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/1.598, allocations: 3.953 kB / 0.6467 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-06/1.598, allocations: 0 / 0.6467 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/1.598, allocations: 4 kB / 0.6467 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/1.598, allocations: 0 / 0.6467 GB, free: 14.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.663e-05/1.599, allocations: 75.28 kB / 0.6468 GB, free: 14.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.599, allocations: 4.031 kB / 0.6468 GB, free: 14.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009279/1.608, allocations: 2.16 MB / 0.6489 GB, free: 12.66 MB / 458.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.01519/1.623, allocations: 2.257 MB / 0.6511 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/1.623, allocations: 59.41 kB / 0.6511 GB, free: 10.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.623, allocations: 0 / 0.6511 GB, free: 10.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/1.623, allocations: 55.41 kB / 0.6512 GB, free: 10.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/1.623, allocations: 3.938 kB / 0.6512 GB, free: 10.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/1.624, allocations: 48.06 kB / 0.6512 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/1.624, allocations: 0.6768 MB / 0.6519 GB, free: 9.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.073e-06/1.624, allocations: 0 / 0.6519 GB, free: 9.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/1.624, allocations: 7.438 kB / 0.6519 GB, free: 9.473 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/1.624, allocations: 0 / 0.6519 GB, free: 9.473 MB / 458.7 MB Notification: Performance of Templates: time 0.5053/2.129, allocations: 125.4 MB / 0.7744 GB, free: 105.8 MB / 0.4948 GB 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