Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008806/0.0008805, allocations: 96.98 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 176.1 kB / 16.57 MB, free: 6.391 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.351/1.351, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3582/0.3582, allocations: 43.55 MB / 314.5 MB, free: 8.762 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.0005321/0.0005323, allocations: 16 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1396, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0006774/0.1403, allocations: 232.4 kB / 443 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.1436, allocations: 2.213 MB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.1436, allocations: 0 / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.1436, allocations: 0 / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.25e-06/0.1437, allocations: 0 / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.1453, allocations: 454.9 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.685e-05/0.1454, allocations: 0 / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.1455, allocations: 7.938 kB / 445.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.161e-05/0.1455, allocations: 3.984 kB / 445.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.859e-05/0.1455, allocations: 4 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.721e-06/0.1455, allocations: 0 / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.1468, allocations: 0.6786 MB / 446.3 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.1468, allocations: 3.984 kB / 446.3 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.1469, allocations: 29.7 kB / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.1475, allocations: 295.8 kB / 446.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1475, allocations: 0 / 446.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1475, allocations: 0 / 446.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1475, allocations: 0 / 446.7 MB, free: 9.137 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.000556/0.1481, allocations: 433 kB / 447.1 MB, free: 8.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1481, allocations: 20.02 kB / 447.1 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.1482, allocations: 3.953 kB / 447.1 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1483, allocations: 163.1 kB / 447.3 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1483, allocations: 0 / 447.3 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.1483, allocations: 3.938 kB / 447.3 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.989e-05/0.1484, allocations: 29.7 kB / 447.3 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.1485, allocations: 3.984 kB / 447.3 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1485, allocations: 0 / 447.3 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1485, allocations: 0 / 447.3 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.1485, allocations: 7.953 kB / 447.3 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.1487, allocations: 153.6 kB / 447.5 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/0.1487, allocations: 14.58 kB / 447.5 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.1488, allocations: 3.938 kB / 447.5 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.749e-05/0.1488, allocations: 60.36 kB / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1488, allocations: 0 / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002181/0.1491, allocations: 67.48 kB / 447.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.1491, allocations: 81.14 kB / 447.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.524e-05/0.1492, allocations: 89.86 kB / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1492, allocations: 25.7 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.1492, allocations: 80.14 kB / 447.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.1493, allocations: 3.938 kB / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.1493, allocations: 0 / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1494, allocations: 318.8 kB / 448.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-06/0.1494, allocations: 0 / 448.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/0.1495, allocations: 11.92 kB / 448.2 MB, free: 7.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.328e-05/0.1495, allocations: 29.7 kB / 448.2 MB, free: 7.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1495, allocations: 0 / 448.2 MB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.139e-05/0.1496, allocations: 59.41 kB / 448.3 MB, free: 7.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.1496, allocations: 33.7 kB / 448.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1496, allocations: 0 / 448.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1497, allocations: 3.938 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-06/0.1497, allocations: 3.984 kB / 448.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1497, allocations: 3.984 kB / 448.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.1497, allocations: 4.094 kB / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1497, allocations: 7.984 kB / 448.3 MB, free: 7.195 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.1498, allocations: 135.5 kB / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.1498, allocations: 0 / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.407e-05/0.1499, allocations: 7.125 kB / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1499, allocations: 0 / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1499, allocations: 0 / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1499, allocations: 0 / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.15, allocations: 161.6 kB / 448.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.15, allocations: 4 kB / 448.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-06/0.15, allocations: 3.938 kB / 448.6 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.15, allocations: 4 kB / 448.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.15, allocations: 3.984 kB / 448.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.15, allocations: 0 / 448.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.15, allocations: 0 / 448.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.1502, allocations: 94.78 kB / 448.7 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.1502, allocations: 77.11 kB / 448.8 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1502, allocations: 4.031 kB / 448.8 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.033e-05/0.1503, allocations: 0 / 448.8 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.1503, allocations: 4 kB / 448.8 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1503, allocations: 0 / 448.8 MB, free: 6.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.065e-05/0.1503, allocations: 75.28 kB / 448.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.1503, allocations: 0 / 448.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005858/0.1509, allocations: 159.9 kB / 449.1 MB, free: 6.367 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 (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.0009463/0.1519, allocations: 326.7 kB / 449.4 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.152, allocations: 63.34 kB / 449.4 MB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.152, allocations: 4 kB / 449.4 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.241e-05/0.1521, allocations: 51.41 kB / 449.5 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.1522, allocations: 15.64 kB / 449.5 MB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.1524, allocations: 82.81 kB / 449.6 MB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1527, allocations: 0.6731 MB / 450.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.676e-06/0.1528, allocations: 0 / 450.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.1528, allocations: 7.438 kB / 450.3 MB, free: 5.078 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1528, allocations: 0 / 450.3 MB, free: 5.078 MB / 382.1 MB Notification: Performance of Templates: time 0.008018/0.1608, allocations: 3.593 MB / 453.9 MB, free: 1.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches