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.001175/0.001175, allocations: 107.5 kB / 17.09 MB, free: 5.926 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.001257/0.001257, allocations: 200.2 kB / 18.02 MB, free: 5.016 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.358/1.358, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.2119/0.2119, allocations: 43.53 MB / 314.8 MB, free: 436 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.001532/0.001533, allocations: 75.89 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.1005, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001843/0.1024, allocations: 0.5067 MB / 0.489 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003661/0.1061, allocations: 2.069 MB / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.1061, allocations: 4 kB / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.1062, allocations: 0 / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.564e-06/0.1062, allocations: 0 / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.1079, allocations: 0.4948 MB / 0.4916 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.72e-05/0.108, allocations: 0 / 0.4916 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.108, allocations: 0 / 0.4916 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.802e-05/0.108, allocations: 11.94 kB / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.881e-05/0.108, allocations: 3.984 kB / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.55e-06/0.1081, allocations: 0 / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.1091, allocations: 0.6122 MB / 0.4922 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.1091, allocations: 0 / 0.4922 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.1092, allocations: 3.984 kB / 0.4922 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008109/0.11, allocations: 387 kB / 0.4925 GB, free: 7.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.11, allocations: 0 / 0.4925 GB, free: 7.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.11, allocations: 4 kB / 0.4925 GB, free: 7.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.11, allocations: 0 / 0.4925 GB, free: 7.66 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.0005894/0.1106, allocations: 412.5 kB / 0.4929 GB, free: 7.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1107, allocations: 11.89 kB / 0.4929 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.1107, allocations: 0.9375 kB / 0.4929 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1109, allocations: 160.4 kB / 0.4931 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1109, allocations: 384 / 0.4931 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-06/0.1109, allocations: 4.375 kB / 0.4931 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.111, allocations: 38.02 kB / 0.4931 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.111, allocations: 0 / 0.4931 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.111, allocations: 7.922 kB / 0.4931 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1111, allocations: 4 kB / 0.4932 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.1111, allocations: 0 / 0.4932 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.1113, allocations: 141.7 kB / 0.4933 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.311e-05/0.1114, allocations: 26.59 kB / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.1114, allocations: 8.859 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-06/0.1114, allocations: 3.938 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.077e-05/0.1115, allocations: 60.2 kB / 0.4934 GB, free: 6.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.254e-06/0.1115, allocations: 64 / 0.4934 GB, free: 6.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001881/0.1117, allocations: 71.27 kB / 0.4935 GB, free: 6.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.1117, allocations: 85.11 kB / 0.4935 GB, free: 6.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.1118, allocations: 89.86 kB / 0.4936 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1118, allocations: 25.83 kB / 0.4936 GB, free: 6.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.677e-05/0.1119, allocations: 84.14 kB / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1119, allocations: 0 / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.1119, allocations: 17.7 kB / 0.4937 GB, free: 6.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1121, allocations: 310.8 kB / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.1121, allocations: 0 / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-06/0.1121, allocations: 0 / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.678e-05/0.1122, allocations: 68.2 kB / 0.4941 GB, free: 5.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1122, allocations: 4.062 kB / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.934e-05/0.1123, allocations: 63.39 kB / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.1123, allocations: 29.7 kB / 0.4942 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1123, allocations: 7.938 kB / 0.4942 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1123, allocations: 4 kB / 0.4942 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.1123, allocations: 0 / 0.4942 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1123, allocations: 0 / 0.4942 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.1124, allocations: 0 / 0.4942 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1124, allocations: 0 / 0.4942 GB, free: 5.684 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 9.262e-05/0.1125, allocations: 147.5 kB / 0.4943 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.1125, allocations: 4 kB / 0.4944 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.448e-05/0.1125, allocations: 11.05 kB / 0.4944 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1125, allocations: 0 / 0.4944 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1125, allocations: 0 / 0.4944 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.1126, allocations: 77.11 kB / 0.4944 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.1126, allocations: 4 kB / 0.4944 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.1126, allocations: 0 / 0.4944 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-06/0.1126, allocations: 0 / 0.4944 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001314/0.1128, allocations: 198 kB / 0.4946 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001815/0.1129, allocations: 244.5 kB / 0.4949 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.875e-05/0.113, allocations: 7.984 kB / 0.4949 GB, free: 4.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.007e-05/0.113, allocations: 75.28 kB / 0.4949 GB, free: 4.844 MB / 382.1 MB Notification: Performance of Backend: time 5.21e-07/0.113, allocations: 3.938 kB / 0.4949 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.114, allocations: 334.2 kB / 0.4953 GB, free: 4.496 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003647/0.1144, allocations: 0.5832 MB / 0.4958 GB, free: 3.852 MB / 382.1 MB Notification: Performance of Templates: time 0.006974/0.1214, allocations: 3.44 MB / 0.4992 GB, free: 420 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