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.00111/0.00111, allocations: 81.08 kB / 9.988 MB, free: 0.6953 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001919/0.003029, allocations: 452 kB / 10.43 MB, free: 260 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.001216/0.001216, allocations: 161.1 kB / 11.33 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001661/0.002877, allocations: 483.5 kB / 11.8 MB, free: 2.359 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.9502/0.9502, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1614/1.112, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.1308/0.1308, allocations: 32.36 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02092/0.1518, allocations: 12.31 MB / 266.1 MB, free: 3.867 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.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.43e-05, allocations: 10.19 kB / 267.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001623/0.001647, allocations: 0.5673 MB / 268 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.003871, allocations: 2.051 MB / 270 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.722e-05/0.003888, allocations: 0 / 270 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.869e-06/0.003893, allocations: 0 / 270 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.212e-06/0.003895, allocations: 0 / 270 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.005181, allocations: 482.2 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.061e-05/0.005252, allocations: 4 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.0053, allocations: 0 / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.00534, allocations: 8 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.673e-05/0.005367, allocations: 0 / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.005377, allocations: 0 / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.006442, allocations: 0.651 MB / 271.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.006458, allocations: 0 / 271.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.006483, allocations: 4 kB / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007252/0.007208, allocations: 371 kB / 271.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.007221, allocations: 0 / 271.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.007222, allocations: 0 / 271.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.007237, allocations: 0 / 271.5 MB, free: 14.4 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.0004813/0.007718, allocations: 357.6 kB / 271.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.007754, allocations: 12.03 kB / 271.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.007795, allocations: 0.9375 kB / 271.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.323e-05/0.007878, allocations: 109.7 kB / 272 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.007892, allocations: 4.375 kB / 272 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.007906, allocations: 4.375 kB / 272 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.008, allocations: 55.97 kB / 272 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.008008, allocations: 192 / 272 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.008017, allocations: 4.375 kB / 272 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.008027, allocations: 3.938 kB / 272.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.008046, allocations: 25.7 kB / 272.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.552e-05/0.008131, allocations: 57.05 kB / 272.1 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.88e-05/0.00819, allocations: 52.19 kB / 272.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.008215, allocations: 34.66 kB / 272.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-06/0.008219, allocations: 4 kB / 272.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.008264, allocations: 56.27 kB / 272.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.008265, allocations: 4 kB / 272.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.008397, allocations: 110.8 kB / 272.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.008456, allocations: 162.2 kB / 272.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.125e-05/0.008488, allocations: 93.8 kB / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.008496, allocations: 25.7 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.214e-05/0.008519, allocations: 80.14 kB / 272.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.008545, allocations: 0 / 272.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.008573, allocations: 13.72 kB / 272.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.008665, allocations: 322.9 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.008686, allocations: 29.7 kB / 273.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.412e-05/0.0087, allocations: 25.7 kB / 273.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.625e-05/0.008746, allocations: 60.27 kB / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.008748, allocations: 0 / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.206e-05/0.00881, allocations: 89.09 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.00885, allocations: 29.7 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.008858, allocations: 3.984 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.008872, allocations: 7.875 kB / 273.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.647e-06/0.008876, allocations: 4.094 kB / 273.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.008881, allocations: 0 / 273.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.0089, allocations: 11.95 kB / 273.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.008908, allocations: 3.938 kB / 273.3 MB, free: 12.3 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 6.996e-05/0.008978, allocations: 139.5 kB / 273.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-06/0.008986, allocations: 4 kB / 273.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.009, allocations: 3 kB / 273.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.009002, allocations: 0 / 273.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.009003, allocations: 0 / 273.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.009006, allocations: 0 / 273.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.753e-05/0.009064, allocations: 77.83 kB / 273.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.009065, allocations: 0 / 273.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-06/0.009066, allocations: 0 / 273.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.009071, allocations: 0 / 273.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.009073, allocations: 0 / 273.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.009082, allocations: 7.984 kB / 273.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.009083, allocations: 0 / 273.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.009084, allocations: 0 / 273.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.128e-05/0.009165, allocations: 116.4 kB / 273.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.009179, allocations: 4 kB / 273.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-06/0.009185, allocations: 0 / 273.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.009199, allocations: 8.016 kB / 273.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.009203, allocations: 0 / 273.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.383e-05/0.009217, allocations: 8.891 kB / 273.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009217, allocations: 0 / 273.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.009568, allocations: 135.5 kB / 273.8 MB, free: 11.75 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.0006304/0.0102, allocations: 329.4 kB / 274.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.01031, allocations: 119.7 kB / 274.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.01032, allocations: 0 / 274.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.39e-05/0.01035, allocations: 89.95 kB / 274.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.312e-05/0.01041, allocations: 7.938 kB / 274.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001788/0.01059, allocations: 108.8 kB / 274.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.206e-05/0.01062, allocations: 55.36 kB / 274.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.512e-06/0.01063, allocations: 0 / 274.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.01067, allocations: 55.31 kB / 274.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01067, allocations: 4.188 kB / 274.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of Templates: time 0.006846/0.01751, allocations: 4.02 MB / 278.6 MB, free: 6.859 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.802802676334977]