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.00116/0.001161, allocations: 115.9 kB / 17.08 MB, free: 5.992 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.001225/0.001225, allocations: 193.2 kB / 18.01 MB, free: 5.07 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.373/1.373, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2038/0.2038, allocations: 43.52 MB / 314.8 MB, free: 452 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.001412/0.001412, allocations: 69.47 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1107, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001984/0.1127, allocations: 0.5096 MB / 0.489 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.1157, allocations: 2.068 MB / 0.491 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.1157, allocations: 0 / 0.491 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.1158, allocations: 3.938 kB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.312e-06/0.1158, allocations: 0 / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.1174, allocations: 0.4909 MB / 0.4915 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.493e-05/0.1175, allocations: 4 kB / 0.4915 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.1175, allocations: 0 / 0.4915 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.967e-05/0.1176, allocations: 3.938 kB / 0.4915 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.872e-05/0.1176, allocations: 4 kB / 0.4915 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-06/0.1176, allocations: 0 / 0.4915 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.1186, allocations: 0.6123 MB / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.407e-06/0.1186, allocations: 0 / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.1187, allocations: 4 kB / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.1192, allocations: 387.2 kB / 0.4925 GB, free: 7.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1192, allocations: 3.938 kB / 0.4925 GB, free: 7.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1192, allocations: 0 / 0.4925 GB, free: 7.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1192, allocations: 0 / 0.4925 GB, free: 7.688 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.0004299/0.1197, allocations: 413.3 kB / 0.4929 GB, free: 7.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1197, allocations: 11.89 kB / 0.4929 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.1198, allocations: 0.9375 kB / 0.4929 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.68e-05/0.1199, allocations: 160.4 kB / 0.4931 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1199, allocations: 384 / 0.4931 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1199, allocations: 8.375 kB / 0.4931 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.324e-05/0.12, allocations: 41.98 kB / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.12, allocations: 0 / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.12, allocations: 0 / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.12, allocations: 0 / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.1201, allocations: 11.94 kB / 0.4931 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.1202, allocations: 145.6 kB / 0.4933 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.904e-05/0.1202, allocations: 18.61 kB / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.1203, allocations: 8.859 kB / 0.4933 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.1203, allocations: 7.922 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.1203, allocations: 64.2 kB / 0.4934 GB, free: 6.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1203, allocations: 3.938 kB / 0.4934 GB, free: 6.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001597/0.1205, allocations: 63.41 kB / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.1206, allocations: 81.11 kB / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.834e-05/0.1206, allocations: 89.86 kB / 0.4936 GB, free: 6.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1206, allocations: 33.81 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.1207, allocations: 80.14 kB / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.1207, allocations: 0 / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.1207, allocations: 17.72 kB / 0.4937 GB, free: 6.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.1208, allocations: 310.8 kB / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.1208, allocations: 0 / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/0.1208, allocations: 0 / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.1209, allocations: 60.33 kB / 0.4941 GB, free: 5.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1209, allocations: 4 kB / 0.4941 GB, free: 5.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.428e-05/0.121, allocations: 71.33 kB / 0.4941 GB, free: 5.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.121, allocations: 33.64 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.121, allocations: 4 kB / 0.4942 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.121, allocations: 0 / 0.4942 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1211, allocations: 4 kB / 0.4942 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1211, allocations: 0 / 0.4942 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.1211, allocations: 0 / 0.4942 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.1211, allocations: 0 / 0.4942 GB, free: 5.703 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 8.098e-05/0.1212, allocations: 147.5 kB / 0.4943 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-06/0.1212, allocations: 3.938 kB / 0.4943 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.013e-05/0.1212, allocations: 3.125 kB / 0.4943 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1212, allocations: 0 / 0.4943 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1212, allocations: 0 / 0.4943 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.1212, allocations: 0 / 0.4943 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.779e-05/0.1213, allocations: 145.7 kB / 0.4945 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1213, allocations: 0 / 0.4945 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/0.1213, allocations: 3.984 kB / 0.4945 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1213, allocations: 3.938 kB / 0.4945 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.1214, allocations: 4 kB / 0.4945 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1214, allocations: 0 / 0.4945 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1214, allocations: 0 / 0.4945 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.973e-05/0.1215, allocations: 98.77 kB / 0.4946 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.1215, allocations: 77.11 kB / 0.4947 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1215, allocations: 11.88 kB / 0.4947 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-06/0.1215, allocations: 0 / 0.4947 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.1216, allocations: 4.031 kB / 0.4947 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.1216, allocations: 0 / 0.4947 GB, free: 5.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.423e-05/0.1216, allocations: 79.22 kB / 0.4947 GB, free: 5.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1216, allocations: 0 / 0.4947 GB, free: 5.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003914/0.122, allocations: 127.9 kB / 0.4949 GB, free: 4.895 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.0006853/0.1227, allocations: 301.8 kB / 0.4952 GB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.999e-05/0.1228, allocations: 59.41 kB / 0.4952 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1228, allocations: 0 / 0.4952 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.922e-05/0.1228, allocations: 59.33 kB / 0.4953 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.123, allocations: 4 kB / 0.4953 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.1232, allocations: 110.6 kB / 0.4954 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.1235, allocations: 0.669 MB / 0.496 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.476e-05/0.1235, allocations: 11.42 kB / 0.496 GB, free: 3.598 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1235, allocations: 4.125 kB / 0.496 GB, free: 3.594 MB / 382.1 MB Notification: Performance of Templates: time 0.005826/0.1293, allocations: 3.23 MB / 0.4992 GB, free: 368 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