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.001304/0.001304, allocations: 114.9 kB / 17.09 MB, free: 6.004 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.001383/0.001384, allocations: 190.2 kB / 18.02 MB, free: 5.094 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.578/1.578, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2085/0.2085, allocations: 43.53 MB / 314.8 MB, free: 464 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.001353/0.001353, allocations: 67.89 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/0.09982, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001559/0.1014, allocations: 0.4989 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003084/0.1045, allocations: 2.341 MB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.492e-05/0.1046, allocations: 0 / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.1046, allocations: 0 / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.558e-06/0.1046, allocations: 0 / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.1061, allocations: 0.5647 MB / 0.4919 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.93e-05/0.1062, allocations: 4 kB / 0.4919 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.1062, allocations: 0 / 0.4919 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.498e-05/0.1063, allocations: 0 / 0.4919 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.006e-05/0.1063, allocations: 8 kB / 0.4919 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-06/0.1063, allocations: 0 / 0.4919 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.1075, allocations: 0.6941 MB / 0.4926 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.674e-06/0.1075, allocations: 0 / 0.4926 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.1075, allocations: 0 / 0.4926 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007905/0.1083, allocations: 451.1 kB / 0.493 GB, free: 7.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1084, allocations: 4 kB / 0.493 GB, free: 7.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1084, allocations: 0 / 0.493 GB, free: 7.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1084, allocations: 0 / 0.493 GB, free: 7.234 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.0005129/0.1089, allocations: 436.6 kB / 0.4934 GB, free: 6.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1089, allocations: 11.89 kB / 0.4934 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.109, allocations: 12.77 kB / 0.4934 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.1091, allocations: 164.3 kB / 0.4936 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.1091, allocations: 4.375 kB / 0.4936 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1091, allocations: 4.375 kB / 0.4936 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.519e-05/0.1092, allocations: 30.02 kB / 0.4936 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1092, allocations: 4 kB / 0.4936 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1092, allocations: 0 / 0.4936 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1092, allocations: 3.984 kB / 0.4936 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.1093, allocations: 3.938 kB / 0.4936 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.1094, allocations: 145.7 kB / 0.4938 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.505e-05/0.1094, allocations: 26.61 kB / 0.4938 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.1095, allocations: 4.859 kB / 0.4938 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.1095, allocations: 0 / 0.4938 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.1095, allocations: 64.27 kB / 0.4939 GB, free: 6.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1095, allocations: 0 / 0.4939 GB, free: 6.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001611/0.1097, allocations: 67.33 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.1097, allocations: 81.11 kB / 0.494 GB, free: 5.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.43e-05/0.1098, allocations: 89.98 kB / 0.4941 GB, free: 5.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.1098, allocations: 29.7 kB / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.1098, allocations: 80.14 kB / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.1098, allocations: 0 / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.1099, allocations: 13.72 kB / 0.4942 GB, free: 5.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.11, allocations: 310.8 kB / 0.4945 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.11, allocations: 0 / 0.4945 GB, free: 5.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.11, allocations: 7.984 kB / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.972e-05/0.1101, allocations: 64.33 kB / 0.4946 GB, free: 5.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1101, allocations: 0 / 0.4946 GB, free: 5.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.589e-05/0.1101, allocations: 63.34 kB / 0.4946 GB, free: 5.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.1102, allocations: 33.7 kB / 0.4947 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1102, allocations: 7.922 kB / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1102, allocations: 0 / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.1102, allocations: 0 / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1102, allocations: 0 / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.1102, allocations: 0 / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1102, allocations: 4 kB / 0.4947 GB, free: 5.234 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 7.665e-05/0.1103, allocations: 139.5 kB / 0.4948 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.1103, allocations: 3.938 kB / 0.4948 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.328e-05/0.1104, allocations: 11.06 kB / 0.4948 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1104, allocations: 4 kB / 0.4948 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1104, allocations: 0 / 0.4948 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.1104, allocations: 81.09 kB / 0.4949 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.1104, allocations: 0 / 0.4949 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-06/0.1104, allocations: 0 / 0.4949 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.1104, allocations: 3.938 kB / 0.4949 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000117/0.1106, allocations: 202 kB / 0.4951 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001287/0.1107, allocations: 244.5 kB / 0.4953 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.409e-05/0.1107, allocations: 0 / 0.4953 GB, free: 4.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.967e-05/0.1108, allocations: 75.28 kB / 0.4954 GB, free: 4.398 MB / 382.1 MB Notification: Performance of Backend: time 2.61e-07/0.1108, allocations: 0 / 0.4954 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.1119, allocations: 380 kB / 0.4958 GB, free: 4.012 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003916/0.1123, allocations: 0.5833 MB / 0.4963 GB, free: 3.367 MB / 382.1 MB Notification: Performance of Templates: time 0.006584/0.1189, allocations: 3.53 MB / 0.4998 GB, free: 15.83 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches