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.001694/0.001694, allocations: 113.5 kB / 17.08 MB, free: 6.008 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.002089/0.002089, allocations: 197.3 kB / 18.01 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, 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.2773/0.2773, allocations: 43.52 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.002852/0.002852, allocations: 67.91 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2088, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.0025/0.2114, allocations: 0.5019 MB / 0.489 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005247/0.2166, allocations: 2.071 MB / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.2167, allocations: 0 / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.2167, allocations: 0 / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.737e-06/0.2169, allocations: 0 / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.2191, allocations: 0.4909 MB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.777e-05/0.2192, allocations: 0 / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.347e-05/0.2192, allocations: 0 / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.557e-05/0.2193, allocations: 7.938 kB / 0.4915 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.702e-05/0.2193, allocations: 7.984 kB / 0.4915 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.2193, allocations: 0 / 0.4915 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006101/0.2254, allocations: 0.6122 MB / 0.4921 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.2255, allocations: 0 / 0.4921 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.2256, allocations: 3.984 kB / 0.4921 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009192/0.2265, allocations: 383.2 kB / 0.4925 GB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2265, allocations: 0 / 0.4925 GB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2265, allocations: 4 kB / 0.4925 GB, free: 7.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.2266, allocations: 0 / 0.4925 GB, free: 7.707 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.0006165/0.2272, allocations: 412.7 kB / 0.4929 GB, free: 7.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.2272, allocations: 11.89 kB / 0.4929 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.2273, allocations: 0.9375 kB / 0.4929 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2274, allocations: 160.4 kB / 0.4931 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.2275, allocations: 8.375 kB / 0.4931 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.2275, allocations: 4.375 kB / 0.4931 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.2276, allocations: 41.94 kB / 0.4931 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2277, allocations: 3.984 kB / 0.4931 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2277, allocations: 4 kB / 0.4931 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.2277, allocations: 0 / 0.4931 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.496e-05/0.2277, allocations: 0 / 0.4931 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.2279, allocations: 145.6 kB / 0.4933 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.71e-05/0.228, allocations: 18.61 kB / 0.4933 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.2281, allocations: 20.78 kB / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.2281, allocations: 7.875 kB / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.839e-05/0.2282, allocations: 64.27 kB / 0.4934 GB, free: 6.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.983e-06/0.2282, allocations: 0 / 0.4934 GB, free: 6.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000249/0.2285, allocations: 59.41 kB / 0.4934 GB, free: 6.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.2285, allocations: 77.11 kB / 0.4935 GB, free: 6.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.518e-05/0.2286, allocations: 93.84 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2287, allocations: 29.83 kB / 0.4936 GB, free: 6.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.2287, allocations: 84.14 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.2287, allocations: 0 / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.2288, allocations: 13.72 kB / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2289, allocations: 310.8 kB / 0.494 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.229, allocations: 0 / 0.494 GB, free: 5.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-06/0.229, allocations: 3.938 kB / 0.494 GB, free: 5.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.823e-05/0.2291, allocations: 64.33 kB / 0.4941 GB, free: 5.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2291, allocations: 0 / 0.4941 GB, free: 5.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001091/0.2292, allocations: 67.39 kB / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.2292, allocations: 33.64 kB / 0.4942 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2293, allocations: 4 kB / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2293, allocations: 0 / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.2293, allocations: 0 / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2293, allocations: 0 / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.2293, allocations: 0 / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.2294, allocations: 0 / 0.4942 GB, free: 5.73 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.0001273/0.2295, allocations: 147.5 kB / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.2295, allocations: 7.875 kB / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.2296, allocations: 3.125 kB / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2296, allocations: 0 / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2296, allocations: 0 / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.2296, allocations: 4 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.2297, allocations: 153.7 kB / 0.4945 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2298, allocations: 0 / 0.4945 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.2298, allocations: 0 / 0.4945 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2298, allocations: 3.938 kB / 0.4945 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2298, allocations: 4 kB / 0.4945 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2298, allocations: 4 kB / 0.4945 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.2298, allocations: 3.984 kB / 0.4945 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.23, allocations: 90.77 kB / 0.4946 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.23, allocations: 81.11 kB / 0.4947 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.2301, allocations: 3.938 kB / 0.4947 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/0.2301, allocations: 0 / 0.4947 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.2301, allocations: 4.031 kB / 0.4947 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.2301, allocations: 3.984 kB / 0.4947 GB, free: 5.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.039e-05/0.2302, allocations: 79.22 kB / 0.4947 GB, free: 5.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2302, allocations: 7.938 kB / 0.4948 GB, free: 5.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007329/0.2309, allocations: 123.9 kB / 0.4949 GB, free: 4.906 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 (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.005617/0.2366, allocations: 297.5 kB / 0.4952 GB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.2368, allocations: 63.39 kB / 0.4952 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.2369, allocations: 0 / 0.4952 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.352e-05/0.2369, allocations: 55.41 kB / 0.4953 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.2372, allocations: 0 / 0.4953 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.2375, allocations: 110.6 kB / 0.4954 GB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.2379, allocations: 0.6768 MB / 0.496 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.2379, allocations: 7.562 kB / 0.496 GB, free: 3.617 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.238, allocations: 4 kB / 0.496 GB, free: 3.613 MB / 382.1 MB Notification: Performance of Templates: time 0.01424/0.2522, allocations: 3.233 MB / 0.4992 GB, free: 384 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