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.001515/0.001515, allocations: 100.3 kB / 19.69 MB, free: 1.805 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: 211.5 kB / 22.99 MB, free: 4.602 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.67/1.67, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.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.2677/0.2677, allocations: 44.27 MB / 330.3 MB, free: 9.312 MB / 270.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 71.91 kB / 468 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.178, allocations: 61.03 MB / 0.5166 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.00191/0.1799, allocations: 0.5066 MB / 0.5171 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.1833, allocations: 1.991 MB / 0.5191 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.1833, allocations: 4 kB / 0.5191 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.1833, allocations: 0 / 0.5191 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.373e-06/0.1833, allocations: 0 / 0.5191 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.1848, allocations: 0.5065 MB / 0.5196 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.18e-05/0.1849, allocations: 3.984 kB / 0.5196 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.1849, allocations: 4 kB / 0.5196 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.074e-05/0.185, allocations: 4 kB / 0.5196 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.003e-05/0.185, allocations: 0 / 0.5196 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.823e-06/0.185, allocations: 4 kB / 0.5196 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.1861, allocations: 0.6354 MB / 0.5202 GB, free: 3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.1861, allocations: 0 / 0.5202 GB, free: 3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.1861, allocations: 0 / 0.5202 GB, free: 3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.1867, allocations: 375 kB / 0.5206 GB, free: 2.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1867, allocations: 0 / 0.5206 GB, free: 2.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1868, allocations: 0 / 0.5206 GB, free: 2.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.1868, allocations: 0 / 0.5206 GB, free: 2.633 MB / 398.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.0005075/0.1873, allocations: 339.4 kB / 0.5209 GB, free: 2.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1873, allocations: 8.031 kB / 0.5209 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.1874, allocations: 4.922 kB / 0.5209 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.1875, allocations: 110.5 kB / 0.521 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.1875, allocations: 4.312 kB / 0.521 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1875, allocations: 384 / 0.521 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1876, allocations: 63.72 kB / 0.5211 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1876, allocations: 0 / 0.5211 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.1876, allocations: 0 / 0.5211 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1877, allocations: 0 / 0.5211 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.205e-05/0.1877, allocations: 29.64 kB / 0.5211 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.1878, allocations: 105.3 kB / 0.5212 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.1879, allocations: 44.31 kB / 0.5212 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.1879, allocations: 30.56 kB / 0.5213 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.1879, allocations: 0 / 0.5213 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.188, allocations: 56.27 kB / 0.5213 GB, free: 1.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.188, allocations: 8.062 kB / 0.5213 GB, free: 1.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002272/0.1882, allocations: 126.7 kB / 0.5215 GB, free: 1.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.1883, allocations: 77.11 kB / 0.5215 GB, free: 1.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.85e-05/0.1883, allocations: 89.86 kB / 0.5216 GB, free: 1.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.1884, allocations: 25.7 kB / 0.5216 GB, free: 1.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.1884, allocations: 84.12 kB / 0.5217 GB, free: 1.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.1884, allocations: 0 / 0.5217 GB, free: 1.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.1885, allocations: 17.72 kB / 0.5217 GB, free: 1.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.1886, allocations: 314.8 kB / 0.522 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.375e-05/0.1887, allocations: 29.7 kB / 0.5221 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.1887, allocations: 29.83 kB / 0.5221 GB, free: 0.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.422e-05/0.1888, allocations: 60.27 kB / 0.5222 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1888, allocations: 3.938 kB / 0.5222 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.969e-05/0.1889, allocations: 93.09 kB / 0.5222 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.1889, allocations: 29.7 kB / 0.5223 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1889, allocations: 3.984 kB / 0.5223 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.189, allocations: 3.938 kB / 0.5223 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.726e-06/0.189, allocations: 4 kB / 0.5223 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.189, allocations: 4 kB / 0.5223 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.189, allocations: 4.094 kB / 0.5223 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.189, allocations: 0 / 0.5223 GB, free: 0.5898 MB / 398.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.0001067/0.1891, allocations: 135.5 kB / 0.5224 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.1891, allocations: 3.984 kB / 0.5224 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.385e-05/0.1891, allocations: 10.88 kB / 0.5224 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-07/0.1891, allocations: 0 / 0.5224 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1891, allocations: 0 / 0.5224 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1891, allocations: 0 / 0.5224 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.1892, allocations: 101.3 kB / 0.5225 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.1892, allocations: 0 / 0.5225 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1892, allocations: 0 / 0.5225 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1892, allocations: 7.938 kB / 0.5225 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1892, allocations: 0 / 0.5225 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1892, allocations: 3.938 kB / 0.5225 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1892, allocations: 3.938 kB / 0.5225 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.1894, allocations: 116.5 kB / 0.5227 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-06/0.1894, allocations: 4 kB / 0.5227 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.1894, allocations: 3.984 kB / 0.5227 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.151e-05/0.1894, allocations: 3.938 kB / 0.5227 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.1894, allocations: 0 / 0.5227 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.1894, allocations: 4 kB / 0.5227 GB, free: 128 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.1895, allocations: 79.31 kB / 0.5228 GB, free: 48 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1895, allocations: 0 / 0.5228 GB, free: 48 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004596/0.19, allocations: 131.5 kB / 0.5229 GB, free: 15.92 MB / 414.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.0007669/0.1907, allocations: 303.3 kB / 0.5232 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.1909, allocations: 110.8 kB / 0.5233 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1909, allocations: 4.062 kB / 0.5233 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/0.1909, allocations: 89.09 kB / 0.5234 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.1911, allocations: 0 / 0.5234 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.1913, allocations: 106.6 kB / 0.5235 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.409e-05/0.1914, allocations: 59.34 kB / 0.5235 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.364e-06/0.1914, allocations: 0 / 0.5235 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.1914, allocations: 11.44 kB / 0.5235 GB, free: 15.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1914, allocations: 0 / 0.5235 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Templates: time 0.008301/0.1997, allocations: 3.419 MB / 0.5269 GB, free: 11.72 MB / 414.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.809152126312256]