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.001478/0.001478, allocations: 74.97 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001596/0.001596, allocations: 171.1 kB / 23.22 MB, free: 4.887 MB / 14.72 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 1.557/1.557, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] 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.246/0.246, allocations: 32.37 MB / 269.6 MB, free: 4.66 MB / 254.1 MB " [Timeout remaining time 179] 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.014e-06/2.014e-06, allocations: 0 / 407.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.333e-05, allocations: 2.281 kB / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001774/0.001807, allocations: 0.5025 MB / 407.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004151/0.005958, allocations: 1.998 MB / 409.9 MB, free: 500 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.005978, allocations: 0 / 409.9 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.005993, allocations: 0 / 409.9 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.236e-06/0.006001, allocations: 4 kB / 409.9 MB, free: 496 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.007705, allocations: 0.5098 MB / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.08e-05/0.007766, allocations: 7.938 kB / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.007808, allocations: 0 / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.976e-05/0.007838, allocations: 0 / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.997e-05/0.007858, allocations: 0 / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.007867, allocations: 0 / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.009065, allocations: 0.6392 MB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.009074, allocations: 0 / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.009103, allocations: 4 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000814/0.009917, allocations: 454.9 kB / 411.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.00992, allocations: 7.938 kB / 411.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009921, allocations: 4 kB / 411.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.009927, allocations: 0 / 411.5 MB, free: 14.87 MB / 350.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.0005332/0.01046, allocations: 335.4 kB / 411.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.0105, allocations: 8.031 kB / 411.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.01055, allocations: 4.938 kB / 411.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.01066, allocations: 105.7 kB / 411.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.01067, allocations: 384 / 411.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.01068, allocations: 4.359 kB / 411.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.01081, allocations: 55.97 kB / 412 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.01083, allocations: 4.188 kB / 412 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.01084, allocations: 4.375 kB / 412 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01085, allocations: 7.922 kB / 412 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.0109, allocations: 29.7 kB / 412 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.01104, allocations: 93.33 kB / 412.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.912e-05/0.01112, allocations: 48.25 kB / 412.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.01115, allocations: 30.56 kB / 412.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.01116, allocations: 3.938 kB / 412.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.44e-05/0.01123, allocations: 64.33 kB / 412.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.01123, allocations: 0 / 412.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002559/0.01149, allocations: 118.8 kB / 412.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.01157, allocations: 81.05 kB / 412.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.01164, allocations: 93.81 kB / 412.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.01166, allocations: 29.64 kB / 412.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.01171, allocations: 84.14 kB / 412.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.01173, allocations: 11.92 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.01176, allocations: 9.719 kB / 412.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.01194, allocations: 314.8 kB / 413 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.01198, allocations: 25.7 kB / 413 MB, free: 13.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.01201, allocations: 25.7 kB / 413 MB, free: 13.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.893e-05/0.01208, allocations: 68.45 kB / 413.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01209, allocations: 0 / 413.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.01219, allocations: 89.09 kB / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.01223, allocations: 29.7 kB / 413.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.01224, allocations: 8 kB / 413.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.01225, allocations: 0 / 413.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.746e-06/0.01226, allocations: 3.938 kB / 413.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.01226, allocations: 3.938 kB / 413.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.01228, allocations: 0 / 413.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.01228, allocations: 0 / 413.2 MB, free: 12.83 MB / 350.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 0.0001115/0.0124, allocations: 145.8 kB / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.01241, allocations: 4 kB / 413.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.197e-05/0.01242, allocations: 6.938 kB / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.01242, allocations: 0 / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.01242, allocations: 0 / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01243, allocations: 7.938 kB / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.01253, allocations: 93.33 kB / 413.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.01253, allocations: 0 / 413.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-06/0.01254, allocations: 3.984 kB / 413.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.01254, allocations: 0 / 413.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01255, allocations: 8 kB / 413.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.01255, allocations: 0 / 413.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01255, allocations: 0 / 413.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.01269, allocations: 124.4 kB / 413.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-06/0.01269, allocations: 0 / 413.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.0127, allocations: 3.938 kB / 413.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.216e-05/0.01271, allocations: 4 kB / 413.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.01272, allocations: 0 / 413.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.01273, allocations: 0 / 413.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.284e-05/0.01277, allocations: 79.22 kB / 413.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01277, allocations: 0 / 413.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004162/0.01318, allocations: 131.6 kB / 413.8 MB, free: 12.16 MB / 350.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.0008806/0.01406, allocations: 323.7 kB / 414.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.01429, allocations: 114.8 kB / 414.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01429, allocations: 0 / 414.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.918e-05/0.01435, allocations: 81.17 kB / 414.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.01449, allocations: 10.33 kB / 414.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.01481, allocations: 102.7 kB / 414.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.573e-05/0.01488, allocations: 59.3 kB / 414.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.592e-06/0.01488, allocations: 0 / 414.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.0149, allocations: 8.5 kB / 414.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.0149, allocations: 0 / 414.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Templates: time 0.009411/0.02431, allocations: 3.476 MB / 418 MB, free: 7.902 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.512635551393032]