Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001709/0.001709, allocations: 119.2 kB / 19.13 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00217/0.00217, allocations: 210.6 kB / 22.08 MB, free: 0.9688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 252.3 MB, free: 96 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2557/0.2557, allocations: 46.17 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 81.36 kB / 490.9 MB, free: 27.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1229, allocations: 62.45 MB / 0.5403 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001598/0.1246, allocations: 0.5009 MB / 0.5408 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.1277, allocations: 2.102 MB / 0.5429 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.1278, allocations: 4 kB / 0.5429 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.1278, allocations: 0 / 0.5429 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.1278, allocations: 0 / 0.5429 GB, free: 1.512 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:1013:5-1096:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.distributions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1293, allocations: 0.5028 MB / 0.5434 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.489e-05/0.1294, allocations: 0 / 0.5434 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.1295, allocations: 4 kB / 0.5434 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.448e-05/0.1295, allocations: 0 / 0.5434 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.615e-05/0.1295, allocations: 0 / 0.5434 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-06/0.1295, allocations: 0 / 0.5434 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.1306, allocations: 0.6279 MB / 0.544 GB, free: 388 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.1306, allocations: 3.938 kB / 0.544 GB, free: 384 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.1307, allocations: 4 kB / 0.544 GB, free: 380 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005936/0.1313, allocations: 387.1 kB / 0.5444 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1313, allocations: 4 kB / 0.5444 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1313, allocations: 0 / 0.5444 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1313, allocations: 0 / 0.5444 GB, free: 15.98 MB / 414.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.0004909/0.1318, allocations: 427.3 kB / 0.5448 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1318, allocations: 8.031 kB / 0.5448 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.1319, allocations: 0.9375 kB / 0.5448 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.132, allocations: 164.4 kB / 0.5449 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.132, allocations: 384 / 0.545 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.132, allocations: 8.312 kB / 0.545 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.856e-05/0.1321, allocations: 34.02 kB / 0.545 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1322, allocations: 0 / 0.545 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1322, allocations: 0 / 0.545 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1322, allocations: 0 / 0.545 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.26e-05/0.1322, allocations: 11.92 kB / 0.545 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.1324, allocations: 141.7 kB / 0.5451 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.413e-05/0.1324, allocations: 18.61 kB / 0.5452 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.1325, allocations: 8.859 kB / 0.5452 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.1325, allocations: 4 kB / 0.5452 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.1325, allocations: 64.2 kB / 0.5452 GB, free: 14.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1325, allocations: 0 / 0.5452 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001826/0.1327, allocations: 71.34 kB / 0.5453 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.1328, allocations: 81.11 kB / 0.5454 GB, free: 14.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.581e-05/0.1329, allocations: 89.86 kB / 0.5455 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1329, allocations: 25.7 kB / 0.5455 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.1329, allocations: 92.2 kB / 0.5456 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1329, allocations: 0 / 0.5456 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.133, allocations: 13.72 kB / 0.5456 GB, free: 14.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1331, allocations: 318.8 kB / 0.5459 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-06/0.1331, allocations: 0 / 0.5459 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-06/0.1332, allocations: 0 / 0.5459 GB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.224e-05/0.1332, allocations: 60.27 kB / 0.5459 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1332, allocations: 0 / 0.5459 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.848e-05/0.1333, allocations: 71.41 kB / 0.546 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.1334, allocations: 37.62 kB / 0.5461 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1334, allocations: 0 / 0.5461 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1334, allocations: 0 / 0.5461 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.1334, allocations: 4 kB / 0.5461 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1334, allocations: 0 / 0.5461 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.1334, allocations: 3.938 kB / 0.5461 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1334, allocations: 0 / 0.5461 GB, free: 14 MB / 414.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 9.436e-05/0.1335, allocations: 135.5 kB / 0.5462 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.1336, allocations: 7.969 kB / 0.5462 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-06/0.1336, allocations: 3.125 kB / 0.5462 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1336, allocations: 3.984 kB / 0.5462 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1336, allocations: 0 / 0.5462 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.1336, allocations: 0 / 0.5462 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.1337, allocations: 149.7 kB / 0.5463 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1337, allocations: 0 / 0.5463 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1337, allocations: 0 / 0.5463 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1337, allocations: 3.938 kB / 0.5463 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1337, allocations: 7.922 kB / 0.5464 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1337, allocations: 4 kB / 0.5464 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1338, allocations: 0 / 0.5464 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.1339, allocations: 98.75 kB / 0.5465 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.1339, allocations: 77.11 kB / 0.5465 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.1339, allocations: 11.92 kB / 0.5465 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-06/0.134, allocations: 0 / 0.5465 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.134, allocations: 0 / 0.5465 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.134, allocations: 0 / 0.5465 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.621e-05/0.134, allocations: 79.31 kB / 0.5466 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.134, allocations: 3.938 kB / 0.5466 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004246/0.1345, allocations: 131.6 kB / 0.5467 GB, free: 13.19 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.0007383/0.1352, allocations: 304.5 kB / 0.547 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.1353, allocations: 67.34 kB / 0.5471 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1353, allocations: 0 / 0.5471 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.669e-05/0.1354, allocations: 59.39 kB / 0.5472 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.1355, allocations: 4 kB / 0.5472 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.1357, allocations: 102.8 kB / 0.5473 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.136, allocations: 0.669 MB / 0.5479 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.179e-05/0.136, allocations: 7.438 kB / 0.5479 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.136, allocations: 128 / 0.5479 GB, free: 11.89 MB / 414.1 MB Notification: Performance of Templates: time 0.006498/0.1425, allocations: 3.323 MB / 0.5512 GB, free: 8.566 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.035282437922433]