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.001003/0.001003, allocations: 76.06 kB / 20.72 MB, free: 3.762 MB / 18.57 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.001432/0.001432, allocations: 169 kB / 24.14 MB, free: 352 kB / 18.57 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.9688/0.9688, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.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.1199/0.1199, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.443e-06/1.443e-06, allocations: 0 / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.219e-05, allocations: 2.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001154/0.001176, allocations: 0.5641 MB / 299.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1416/0.1428, allocations: 2.036 MB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.1429, allocations: 0 / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.1429, allocations: 3.281 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.586e-06/0.1429, allocations: 2.375 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.1443, allocations: 481.8 kB / 302.2 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.52e-05/0.1444, allocations: 1.406 kB / 302.2 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.1444, allocations: 8.594 kB / 302.2 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.1444, allocations: 2.75 kB / 302.2 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.862e-05/0.1444, allocations: 0 / 302.2 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.295e-06/0.1445, allocations: 2.344 kB / 302.2 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.1456, allocations: 0.6649 MB / 302.9 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-06/0.1456, allocations: 0.6562 kB / 302.9 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.1456, allocations: 4.672 kB / 302.9 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006332/0.1462, allocations: 460.2 kB / 303.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1462, allocations: 3.938 kB / 303.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1462, allocations: 1.25 kB / 303.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.1462, allocations: 0 / 303.3 MB, free: 19.13 MB / 282.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.0003365/0.1466, allocations: 314.7 kB / 303.6 MB, free: 18.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1466, allocations: 11.75 kB / 303.6 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.1466, allocations: 2.875 kB / 303.6 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.87e-05/0.1467, allocations: 105.6 kB / 303.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.1467, allocations: 1.531 kB / 303.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.1467, allocations: 1.688 kB / 303.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.035e-05/0.1467, allocations: 56.34 kB / 303.8 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1467, allocations: 192 / 303.8 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.1468, allocations: 1.562 kB / 303.8 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1468, allocations: 8.156 kB / 303.8 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.343e-05/0.1468, allocations: 34.23 kB / 303.8 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.479e-05/0.1468, allocations: 57.75 kB / 303.9 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.579e-05/0.1469, allocations: 46.14 kB / 303.9 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.04e-05/0.1469, allocations: 32.66 kB / 304 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-06/0.1469, allocations: 0.7969 kB / 304 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1469, allocations: 58.42 kB / 304 MB, free: 18.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.71e-07/0.1469, allocations: 3.938 kB / 304 MB, free: 18.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.625e-05/0.147, allocations: 120 kB / 304.2 MB, free: 18.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.147, allocations: 82.42 kB / 304.2 MB, free: 18.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.859e-05/0.147, allocations: 89.86 kB / 304.3 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-06/0.147, allocations: 27.84 kB / 304.3 MB, free: 18.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.265e-06/0.1471, allocations: 80.14 kB / 304.4 MB, free: 17.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.1471, allocations: 4.297 kB / 304.4 MB, free: 17.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.1471, allocations: 13.48 kB / 304.4 MB, free: 17.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.932e-05/0.1471, allocations: 316.1 kB / 304.8 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.1471, allocations: 28 kB / 304.8 MB, free: 17.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-06/0.1471, allocations: 26.31 kB / 304.8 MB, free: 17.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.303e-05/0.1472, allocations: 66.47 kB / 304.9 MB, free: 17.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1472, allocations: 0 / 304.9 MB, free: 17.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.912e-05/0.1472, allocations: 87.33 kB / 305 MB, free: 17.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.1473, allocations: 32.83 kB / 305 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1473, allocations: 1.312 kB / 305 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1473, allocations: 2 kB / 305 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.1473, allocations: 0 / 305 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.1473, allocations: 0.8438 kB / 305 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.417e-05/0.1473, allocations: 1.5 kB / 305 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1473, allocations: 3.031 kB / 305 MB, free: 17.34 MB / 282.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 4.088e-05/0.1473, allocations: 150.6 kB / 305.1 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-06/0.1473, allocations: 2.938 kB / 305.1 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.039e-05/0.1473, allocations: 3 kB / 305.1 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1474, allocations: 0.7969 kB / 305.1 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1474, allocations: 1.375 kB / 305.2 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1474, allocations: 0 / 305.2 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.045e-05/0.1474, allocations: 64.06 kB / 305.2 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1474, allocations: 2 kB / 305.2 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-06/0.1474, allocations: 0.6094 kB / 305.2 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.81e-07/0.1474, allocations: 0 / 305.2 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.1474, allocations: 5.797 kB / 305.2 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1474, allocations: 1.125 kB / 305.2 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1474, allocations: 1.531 kB / 305.2 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.249e-05/0.1474, allocations: 117 kB / 305.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-06/0.1475, allocations: 2.016 kB / 305.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.1475, allocations: 5.094 kB / 305.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.01e-06/0.1475, allocations: 2.078 kB / 305.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-06/0.1475, allocations: 0 / 305.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1475, allocations: 2.062 kB / 305.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.169e-06/0.1475, allocations: 6.297 kB / 305.4 MB, free: 16.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1475, allocations: 4.031 kB / 305.4 MB, free: 16.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003049/0.1478, allocations: 130.8 kB / 305.5 MB, free: 16.92 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.000618/0.1484, allocations: 316.9 kB / 305.8 MB, free: 16.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.954e-05/0.1485, allocations: 120.5 kB / 305.9 MB, free: 16.69 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1485, allocations: 0 / 305.9 MB, free: 16.69 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.246e-05/0.1485, allocations: 90.55 kB / 306 MB, free: 16.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.686e-05/0.1486, allocations: 9.812 kB / 306 MB, free: 16.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001635/0.1488, allocations: 110.3 kB / 306.1 MB, free: 16.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.563e-05/0.1488, allocations: 53.06 kB / 306.2 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.123e-06/0.1488, allocations: 0.625 kB / 306.2 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.1488, allocations: 53.42 kB / 306.2 MB, free: 16.34 MB / 282.7 MB Notification: Performance of SimCode: time 3.3e-07/0.1488, allocations: 0 / 306.2 MB, free: 16.34 MB / 282.7 MB Notification: Performance of Templates: time 0.00736/0.1562, allocations: 4.069 MB / 310.3 MB, free: 15.48 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 -s gbode -gbm=radauIIA3 -emit_protected -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.993265796918422]