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.001253/0.001253, allocations: 113.2 kB / 17.09 MB, free: 5.965 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.00125/0.00125, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.319/1.319, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2022/0.2022, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 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.001558/0.001558, allocations: 73.45 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1057, allocations: 57.77 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001853/0.1076, allocations: 0.5143 MB / 0.489 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003994/0.1117, allocations: 2.069 MB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.402e-05/0.1117, allocations: 0 / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.1117, allocations: 0 / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.1117, allocations: 4 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.1135, allocations: 0.4909 MB / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.574e-05/0.1136, allocations: 0 / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.1136, allocations: 7.984 kB / 0.4915 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.724e-05/0.1137, allocations: 3.938 kB / 0.4916 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.602e-05/0.1137, allocations: 0 / 0.4916 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.183e-06/0.1137, allocations: 0 / 0.4916 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.115, allocations: 0.6161 MB / 0.4922 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-06/0.115, allocations: 0 / 0.4922 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.115, allocations: 3.938 kB / 0.4922 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.1158, allocations: 387.3 kB / 0.4925 GB, free: 7.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1158, allocations: 3.938 kB / 0.4925 GB, free: 7.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1158, allocations: 0 / 0.4925 GB, free: 7.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1158, allocations: 0 / 0.4925 GB, free: 7.691 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.0005115/0.1163, allocations: 409.3 kB / 0.4929 GB, free: 7.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1164, allocations: 11.89 kB / 0.4929 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.1164, allocations: 0.9375 kB / 0.4929 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1165, allocations: 164.4 kB / 0.4931 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1165, allocations: 4.375 kB / 0.4931 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1166, allocations: 4.375 kB / 0.4931 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.924e-05/0.1167, allocations: 37.95 kB / 0.4931 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1167, allocations: 4 kB / 0.4931 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1167, allocations: 4 kB / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1167, allocations: 0 / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.965e-05/0.1167, allocations: 0 / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.1169, allocations: 149.6 kB / 0.4933 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.991e-05/0.117, allocations: 22.59 kB / 0.4933 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.117, allocations: 8.859 kB / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.1171, allocations: 3.938 kB / 0.4933 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/0.1171, allocations: 68.27 kB / 0.4934 GB, free: 6.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.793e-06/0.1171, allocations: 3.938 kB / 0.4934 GB, free: 6.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001702/0.1173, allocations: 63.39 kB / 0.4934 GB, free: 6.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.1174, allocations: 77.11 kB / 0.4935 GB, free: 6.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.259e-05/0.1174, allocations: 89.86 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1175, allocations: 29.83 kB / 0.4936 GB, free: 6.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.1175, allocations: 80.14 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.1175, allocations: 0 / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.1176, allocations: 17.72 kB / 0.4937 GB, free: 6.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1177, allocations: 310.8 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.1177, allocations: 0 / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-06/0.1177, allocations: 3.938 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.095e-05/0.1178, allocations: 68.31 kB / 0.4941 GB, free: 5.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1178, allocations: 0 / 0.4941 GB, free: 5.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.3e-05/0.1179, allocations: 63.41 kB / 0.4942 GB, free: 5.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.118, allocations: 29.7 kB / 0.4942 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.118, allocations: 11.94 kB / 0.4942 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.118, allocations: 0 / 0.4942 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.118, allocations: 0 / 0.4942 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.118, allocations: 3.984 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.118, allocations: 0 / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.1181, allocations: 0 / 0.4942 GB, free: 5.711 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.1182, allocations: 147.5 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.1182, allocations: 0 / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.539e-05/0.1182, allocations: 7.062 kB / 0.4943 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1182, allocations: 0 / 0.4943 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1182, allocations: 3.938 kB / 0.4943 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.1183, allocations: 81.11 kB / 0.4944 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.1183, allocations: 3.984 kB / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.111e-05/0.1183, allocations: 0 / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.1183, allocations: 0 / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000142/0.1185, allocations: 198.1 kB / 0.4946 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000177/0.1187, allocations: 240.4 kB / 0.4948 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.85e-05/0.1187, allocations: 4 kB / 0.4949 GB, free: 4.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.899e-05/0.1188, allocations: 75.28 kB / 0.4949 GB, free: 4.879 MB / 382.1 MB Notification: Performance of Backend: time 3.61e-07/0.1188, allocations: 0 / 0.4949 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.12, allocations: 347.6 kB / 0.4953 GB, free: 4.523 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003915/0.1204, allocations: 0.5872 MB / 0.4958 GB, free: 3.875 MB / 382.1 MB Notification: Performance of Templates: time 0.008781/0.1292, allocations: 3.442 MB / 0.4992 GB, free: 440 kB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins1/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