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.0009926/0.0009927, allocations: 187 kB / 16.63 MB, free: 5.137 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.258/1.258, allocations: 205.1 MB / 222.5 MB, free: 8.465 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.00104/0.001039, allocations: 98.36 kB / 269.9 MB, free: 8.434 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.3236/0.3236, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009959/0.000996, allocations: 51.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1082, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.002019/0.1103, allocations: 0.5696 MB / 487.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.1132, allocations: 2.136 MB / 489.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.638e-06/0.1133, allocations: 0 / 489.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.1133, allocations: 0 / 489.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.263e-06/0.1133, allocations: 0 / 489.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.1147, allocations: 423 kB / 490.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.263e-05/0.1147, allocations: 8 kB / 490.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.1148, allocations: 4 kB / 490.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.824e-05/0.1148, allocations: 3.938 kB / 490.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.726e-05/0.1148, allocations: 0 / 490.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-06/0.1148, allocations: 0 / 490.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.1159, allocations: 0.6394 MB / 490.8 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-06/0.116, allocations: 0 / 490.8 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.116, allocations: 4 kB / 490.8 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007372/0.1167, allocations: 391.2 kB / 491.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1168, allocations: 0 / 491.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1168, allocations: 4 kB / 491.2 MB, free: 8.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.1168, allocations: 0 / 491.2 MB, free: 8.344 MB / 378.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.0005052/0.1173, allocations: 413.5 kB / 491.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1173, allocations: 12.03 kB / 491.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.1174, allocations: 0.9375 kB / 491.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/0.1175, allocations: 168.4 kB / 491.8 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1175, allocations: 384 / 491.8 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.1175, allocations: 4.312 kB / 491.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.741e-05/0.1176, allocations: 42 kB / 491.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.1176, allocations: 0 / 491.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.1176, allocations: 0 / 491.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1176, allocations: 0 / 491.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.1177, allocations: 3.938 kB / 491.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.1178, allocations: 145.7 kB / 491.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.825e-05/0.1178, allocations: 18.58 kB / 492 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.1179, allocations: 12.89 kB / 492 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.1179, allocations: 7.984 kB / 492 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.1179, allocations: 60.2 kB / 492 MB, free: 7.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1179, allocations: 0 / 492 MB, free: 7.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001551/0.1181, allocations: 63.31 kB / 492.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.1182, allocations: 77.11 kB / 492.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.688e-05/0.1182, allocations: 93.86 kB / 492.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1182, allocations: 29.69 kB / 492.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.1183, allocations: 80.14 kB / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.1183, allocations: 8.125 kB / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.1183, allocations: 9.719 kB / 492.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1184, allocations: 310.8 kB / 492.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.1184, allocations: 7.938 kB / 492.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-06/0.1184, allocations: 0 / 492.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.241e-05/0.1185, allocations: 64.27 kB / 492.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1185, allocations: 0 / 492.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.506e-05/0.1186, allocations: 63.45 kB / 492.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.1186, allocations: 37.64 kB / 492.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1186, allocations: 0 / 492.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1187, allocations: 0 / 492.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.1187, allocations: 0 / 492.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1187, allocations: 4 kB / 492.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.555e-05/0.1187, allocations: 0 / 492.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.1187, allocations: 4 kB / 492.9 MB, free: 6.367 MB / 378.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 () * 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 8.006e-05/0.1188, allocations: 139.5 kB / 493 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.1188, allocations: 7.969 kB / 493 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.051e-05/0.1188, allocations: 7.125 kB / 493 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.1188, allocations: 0 / 493 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1188, allocations: 0 / 493 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.1188, allocations: 3.938 kB / 493 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.6e-05/0.1189, allocations: 145.7 kB / 493.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1189, allocations: 0 / 493.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.158e-05/0.119, allocations: 3.984 kB / 493.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.119, allocations: 11.88 kB / 493.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.119, allocations: 0 / 493.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.119, allocations: 0 / 493.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.119, allocations: 4 kB / 493.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.1194, allocations: 0.6335 MB / 493.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.1194, allocations: 77.11 kB / 493.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.1194, allocations: 0 / 493.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.105e-05/0.1195, allocations: 3.984 kB / 493.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.1195, allocations: 8.031 kB / 493.9 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1195, allocations: 0 / 493.9 MB, free: 5.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.488e-05/0.1195, allocations: 75.28 kB / 494 MB, free: 5.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1195, allocations: 0 / 494 MB, free: 5.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005563/0.1201, allocations: 128 kB / 494.1 MB, free: 4.98 MB / 378.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) * 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.0007396/0.1208, allocations: 314.5 kB / 494.4 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.743e-05/0.1209, allocations: 63.28 kB / 494.5 MB, free: 4.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1209, allocations: 0 / 494.5 MB, free: 4.594 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.121, allocations: 55.41 kB / 494.5 MB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.1211, allocations: 4 kB / 494.5 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.1214, allocations: 177.4 kB / 494.7 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.1216, allocations: 0.677 MB / 495.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.422e-06/0.1216, allocations: 128 / 495.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.498e-06/0.1216, allocations: 11.44 kB / 495.4 MB, free: 3.598 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1216, allocations: 0 / 495.4 MB, free: 3.598 MB / 378.7 MB Notification: Performance of Templates: time 0.006421/0.128, allocations: 3.417 MB / 498.8 MB, free: 180 kB / 378.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@2/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