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.0009595/0.0009595, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001123/0.001123, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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.9448/0.9448, allocations: 158.6 MB / 185.7 MB, free: 2.434 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.1549/0.1549, allocations: 32.37 MB / 270.4 MB, free: 14.66 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 2.846e-06/2.846e-06, allocations: 0 / 347.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.005e-05/4.289e-05, allocations: 12.22 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.00138/0.001423, allocations: 0.5353 MB / 348.2 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.003958, allocations: 2.032 MB / 350.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.003981, allocations: 0 / 350.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.004007, allocations: 0 / 350.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.955e-06/0.004015, allocations: 0 / 350.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.005587, allocations: 0.5178 MB / 350.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.944e-05/0.005666, allocations: 4 kB / 350.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.005716, allocations: 4 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.005759, allocations: 7.938 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.693e-05/0.005786, allocations: 3.984 kB / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.005797, allocations: 0 / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009139/0.006711, allocations: 0.6313 MB / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.006724, allocations: 0 / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.006756, allocations: 0 / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005742/0.00733, allocations: 458.8 kB / 351.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.007333, allocations: 4 kB / 351.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.007335, allocations: 0 / 351.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.007341, allocations: 0 / 351.8 MB, free: 5.238 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.000457/0.007798, allocations: 445.2 kB / 352.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.00785, allocations: 12.03 kB / 352.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.007905, allocations: 0.9375 kB / 352.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.802e-05/0.007963, allocations: 108.6 kB / 352.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.007979, allocations: 384 / 352.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.007992, allocations: 4.375 kB / 352.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.008105, allocations: 63.89 kB / 352.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.008115, allocations: 192 / 352.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.008127, allocations: 384 / 352.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.008137, allocations: 7.938 kB / 352.5 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.813e-05/0.008156, allocations: 25.7 kB / 352.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.659e-05/0.008252, allocations: 104.6 kB / 352.6 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.008304, allocations: 52.8 kB / 352.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.008325, allocations: 41.38 kB / 352.7 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-06/0.00833, allocations: 4.062 kB / 352.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.008365, allocations: 63.09 kB / 352.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.008366, allocations: 3.938 kB / 352.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000216/0.008582, allocations: 110.8 kB / 352.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.008623, allocations: 89.03 kB / 353 MB, free: 3.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.336e-05/0.008667, allocations: 142.2 kB / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.008675, allocations: 29.64 kB / 353.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.008701, allocations: 130.9 kB / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.008729, allocations: 4.297 kB / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.008758, allocations: 23.5 kB / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.008873, allocations: 492.1 kB / 353.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.008891, allocations: 25.7 kB / 353.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/0.008903, allocations: 29.7 kB / 353.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.825e-05/0.008952, allocations: 67.02 kB / 353.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.008955, allocations: 4 kB / 353.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.527e-05/0.00902, allocations: 85.11 kB / 354 MB, free: 2.816 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.009058, allocations: 33.7 kB / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.009067, allocations: 3.984 kB / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.009084, allocations: 4.094 kB / 354 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-06/0.00909, allocations: 3.984 kB / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.0091, allocations: 3.938 kB / 354 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.009118, allocations: 0 / 354 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.009128, allocations: 4 kB / 354 MB, free: 2.758 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 9.487e-05/0.009223, allocations: 178.3 kB / 354.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.009229, allocations: 4 kB / 354.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.511e-05/0.009244, allocations: 3 kB / 354.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.009246, allocations: 0 / 354.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.009253, allocations: 4 kB / 354.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.009259, allocations: 7.938 kB / 354.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.06e-05/0.00933, allocations: 120.6 kB / 354.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.009331, allocations: 0 / 354.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.009331, allocations: 0 / 354.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.009337, allocations: 0 / 354.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.009346, allocations: 0 / 354.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.009347, allocations: 0 / 354.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.009348, allocations: 0 / 354.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.681e-05/0.009445, allocations: 135.8 kB / 354.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-06/0.00945, allocations: 0 / 354.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.00947, allocations: 0 / 354.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.52e-06/0.009476, allocations: 4.031 kB / 354.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.009499, allocations: 4 kB / 354.5 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.009502, allocations: 0 / 354.5 MB, free: 2.219 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.043e-05/0.009533, allocations: 127.1 kB / 354.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009533, allocations: 0 / 354.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003664/0.009899, allocations: 131.5 kB / 354.7 MB, free: 1.965 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.0007158/0.01061, allocations: 329.1 kB / 355 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.01074, allocations: 114.5 kB / 355.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01074, allocations: 4 kB / 355.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.01076, allocations: 88.78 kB / 355.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.01087, allocations: 8 kB / 355.3 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.01109, allocations: 110.5 kB / 355.4 MB, free: 1.242 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.931e-05/0.01112, allocations: 55.34 kB / 355.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.482e-06/0.01112, allocations: 0 / 355.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.01114, allocations: 16.62 kB / 355.4 MB, free: 1.152 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01114, allocations: 0 / 355.4 MB, free: 1.152 MB / 282.7 MB Notification: Performance of Templates: time 0.006427/0.01757, allocations: 4.053 MB / 359.5 MB, free: 13.1 MB / 298.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 -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: 3.314002708066255]