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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000767/0.000767, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000999/0.001766, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006594/0.0006594, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008362/0.001496, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9143/0.9143, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1917/1.106, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1375/0.1375, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02551/0.163, allocations: 12.3 MB / 265.9 MB, free: 7.824 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.838e-05, allocations: 6.312 kB / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001767/0.001795, allocations: 0.5671 MB / 267.8 MB, free: 5.961 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.004099, allocations: 2.039 MB / 269.8 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.334e-05/0.004112, allocations: 0 / 269.8 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.218e-06/0.004117, allocations: 4 kB / 269.8 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.82e-07/0.004118, allocations: 0 / 269.8 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009665/0.005084, allocations: 478.2 kB / 270.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.836e-05/0.005142, allocations: 0 / 270.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.005179, allocations: 7.938 kB / 270.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.86e-05/0.005207, allocations: 4 kB / 270.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.936e-05/0.005227, allocations: 0 / 270.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.005234, allocations: 0 / 270.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008928/0.006127, allocations: 0.6588 MB / 271 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.006139, allocations: 0 / 271 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.00616, allocations: 0 / 271 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.00668, allocations: 367 kB / 271.3 MB, free: 2.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.263e-05/0.006693, allocations: 0 / 271.3 MB, free: 2.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.006695, allocations: 3.984 kB / 271.3 MB, free: 2.387 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.006709, allocations: 0 / 271.3 MB, free: 2.387 MB / 266.7 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.0003619/0.007071, allocations: 361.7 kB / 271.7 MB, free: 2.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.0071, allocations: 12.03 kB / 271.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.007131, allocations: 0.9375 kB / 271.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.684e-05/0.007188, allocations: 105.8 kB / 271.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.007198, allocations: 8.375 kB / 271.8 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-06/0.007204, allocations: 4.312 kB / 271.8 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.694e-05/0.007271, allocations: 55.97 kB / 271.9 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.007277, allocations: 192 / 271.9 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.007283, allocations: 384 / 271.9 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.007289, allocations: 3.938 kB / 271.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/0.007307, allocations: 29.64 kB / 271.9 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.148e-05/0.007368, allocations: 61.03 kB / 271.9 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.208e-05/0.00741, allocations: 44.31 kB / 272 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.007424, allocations: 30.56 kB / 272 MB, free: 1.574 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-06/0.007427, allocations: 4 kB / 272 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.007469, allocations: 60.33 kB / 272.1 MB, free: 1.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.794e-06/0.007471, allocations: 3.984 kB / 272.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001147/0.007585, allocations: 118.7 kB / 272.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.007622, allocations: 81.11 kB / 272.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.247e-05/0.007654, allocations: 89.86 kB / 272.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.007663, allocations: 25.7 kB / 272.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.004e-05/0.007683, allocations: 80.14 kB / 272.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.007701, allocations: 3.953 kB / 272.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.007725, allocations: 13.84 kB / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.00781, allocations: 326.8 kB / 272.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.007824, allocations: 29.7 kB / 272.8 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.234e-05/0.007837, allocations: 25.7 kB / 272.9 MB, free: 0.625 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.007882, allocations: 60.27 kB / 272.9 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.007884, allocations: 0 / 272.9 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.93e-05/0.007933, allocations: 93.03 kB / 273 MB, free: 452 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.054e-05/0.008014, allocations: 33.7 kB / 273 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.008021, allocations: 3.984 kB / 273.1 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.00803, allocations: 0 / 273.1 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-06/0.008036, allocations: 4.094 kB / 273.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.008039, allocations: 0 / 273.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.00806, allocations: 4 kB / 273.1 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.008071, allocations: 7.938 kB / 273.1 MB, free: 392 kB / 266.7 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.216e-05/0.008143, allocations: 139.5 kB / 273.2 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-06/0.008149, allocations: 0 / 273.2 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.097e-06/0.008158, allocations: 3 kB / 273.2 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.008159, allocations: 0 / 273.2 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.008161, allocations: 3.938 kB / 273.2 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.008163, allocations: 0 / 273.2 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.281e-05/0.008216, allocations: 69.84 kB / 273.3 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.008216, allocations: 0 / 273.3 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-07/0.008217, allocations: 0 / 273.3 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-06/0.008221, allocations: 0 / 273.3 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.42e-07/0.008221, allocations: 0 / 273.3 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.008229, allocations: 7.984 kB / 273.3 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.008229, allocations: 3.938 kB / 273.3 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.00823, allocations: 0 / 273.3 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.133e-05/0.008321, allocations: 116.5 kB / 273.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.008334, allocations: 4 kB / 273.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-06/0.00834, allocations: 0 / 273.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.00835, allocations: 4.031 kB / 273.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.008352, allocations: 0 / 273.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.951e-06/0.008358, allocations: 4.891 kB / 273.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008358, allocations: 0 / 273.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003222/0.00868, allocations: 135.5 kB / 273.5 MB, free: 15.84 MB / 282.7 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.0005665/0.009247, allocations: 337.5 kB / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.964e-05/0.009346, allocations: 123.5 kB / 274 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.00935, allocations: 0 / 274 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.009385, allocations: 89.95 kB / 274.1 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.025e-05/0.009436, allocations: 7.938 kB / 274.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001509/0.009587, allocations: 108.8 kB / 274.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.079e-05/0.009617, allocations: 55.34 kB / 274.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.143e-06/0.009625, allocations: 4 kB / 274.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.009652, allocations: 51.38 kB / 274.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.009653, allocations: 4.125 kB / 274.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of Templates: time 0.005462/0.01511, allocations: 4.062 MB / 278.4 MB, free: 10.9 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.835510663688183]