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.00104/0.00104, 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.001484/0.001484, allocations: 165 kB / 23.79 MB, free: 0.7773 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.8486/0.8486, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.1385/0.1385, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.643e-06/1.643e-06, allocations: 0 / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.907e-05, allocations: 10.19 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001205/0.001234, allocations: 0.5298 MB / 348.2 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.003265, allocations: 2.032 MB / 350.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.828e-05/0.003283, allocations: 0 / 350.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.003301, allocations: 0 / 350.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.003307, allocations: 0 / 350.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.004371, allocations: 0.5217 MB / 350.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.311e-05/0.004425, allocations: 0 / 350.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.004459, allocations: 0 / 350.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.004488, allocations: 7.922 kB / 350.8 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.974e-05/0.004508, allocations: 8 kB / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.004518, allocations: 0 / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006312/0.005149, allocations: 0.6313 MB / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.00516, allocations: 3.984 kB / 351.4 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.005184, allocations: 4 kB / 351.4 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.005605, allocations: 450.9 kB / 351.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.005609, allocations: 0 / 351.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00561, allocations: 0 / 351.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.005615, allocations: 0 / 351.8 MB, free: 5.242 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.0002889/0.005904, allocations: 445.2 kB / 352.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.00594, allocations: 12.03 kB / 352.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.005986, allocations: 4.922 kB / 352.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.002e-05/0.006026, allocations: 104.6 kB / 352.4 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.006036, allocations: 4.375 kB / 352.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.006047, allocations: 4.375 kB / 352.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.38e-05/0.006131, allocations: 59.91 kB / 352.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.006139, allocations: 192 / 352.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.006148, allocations: 384 / 352.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.006156, allocations: 3.938 kB / 352.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.417e-05/0.00617, allocations: 25.7 kB / 352.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.961e-05/0.00624, allocations: 112.6 kB / 352.6 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.69e-05/0.006277, allocations: 52.77 kB / 352.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.006291, allocations: 37.48 kB / 352.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.539e-06/0.006296, allocations: 0 / 352.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.006322, allocations: 67.03 kB / 352.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.92e-07/0.006323, allocations: 0 / 352.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.006472, allocations: 126.8 kB / 352.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.006497, allocations: 81.05 kB / 353 MB, free: 3.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.27e-05/0.00652, allocations: 142.2 kB / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.006525, allocations: 29.64 kB / 353.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.183e-05/0.006537, allocations: 126.9 kB / 353.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.006555, allocations: 4.297 kB / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.006575, allocations: 19.38 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.479e-05/0.006619, allocations: 496.2 kB / 353.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.006634, allocations: 33.7 kB / 353.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.036e-06/0.006643, allocations: 29.7 kB / 353.8 MB, free: 3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.361e-05/0.006676, allocations: 67.03 kB / 353.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.006678, allocations: 0 / 353.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.914e-05/0.006727, allocations: 89.09 kB / 354 MB, free: 2.812 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.006751, allocations: 29.7 kB / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.006756, allocations: 0 / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.00677, allocations: 0 / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.616e-06/0.006774, allocations: 0 / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.00678, allocations: 12.03 kB / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.006792, allocations: 0 / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.006797, allocations: 0 / 354 MB, free: 2.766 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.224e-05/0.006839, allocations: 186.3 kB / 354.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.006846, allocations: 3.984 kB / 354.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.171e-05/0.006857, allocations: 3 kB / 354.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.006859, allocations: 0 / 354.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.006868, allocations: 3.984 kB / 354.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.006871, allocations: 7.875 kB / 354.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.601e-05/0.006907, allocations: 112.6 kB / 354.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-07/0.006908, allocations: 4 kB / 354.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-07/0.006908, allocations: 0 / 354.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.006909, allocations: 0 / 354.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.006915, allocations: 0 / 354.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.006916, allocations: 4 kB / 354.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.006918, allocations: 3.984 kB / 354.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.325e-05/0.006981, allocations: 127.8 kB / 354.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-06/0.006984, allocations: 0 / 354.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.006998, allocations: 3.984 kB / 354.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.388e-06/0.007002, allocations: 4 kB / 354.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.007014, allocations: 0 / 354.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-06/0.007015, allocations: 4.031 kB / 354.5 MB, free: 2.219 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.286e-05/0.007028, 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.007028, allocations: 0 / 354.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.007275, allocations: 135.5 kB / 354.7 MB, free: 1.961 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.000535/0.00781, allocations: 317.5 kB / 355 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.781e-05/0.007898, allocations: 130.5 kB / 355.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.007899, allocations: 0 / 355.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.007914, allocations: 88.8 kB / 355.3 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.717e-05/0.008011, allocations: 0 / 355.3 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.008185, allocations: 118.5 kB / 355.4 MB, free: 1.238 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.167e-05/0.008207, allocations: 55.36 kB / 355.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.673e-06/0.008213, allocations: 0 / 355.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.008227, allocations: 8.5 kB / 355.4 MB, free: 1.156 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.008228, allocations: 0 / 355.4 MB, free: 1.156 MB / 282.7 MB Notification: Performance of Templates: time 0.004912/0.01314, allocations: 3.452 MB / 358.9 MB, free: 13.7 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.214858287014067]