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.001878/0.001878, allocations: 99.53 kB / 20.97 MB, free: 3.449 MB / 18.57 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.002042/0.002042, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 18.57 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.558/1.558, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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.399/0.399, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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 1.703e-06/1.703e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.683e-05, allocations: 8.781 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001697/0.001734, allocations: 0.501 MB / 377.7 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.005491, allocations: 2.047 MB / 379.7 MB, free: 340 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.649e-05/0.005507, allocations: 4 kB / 379.8 MB, free: 336 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.005519, allocations: 4 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.12e-06/0.005524, allocations: 0 / 379.8 MB, free: 332 kB / 346.7 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.001632/0.007156, allocations: 0.5217 MB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.013e-05/0.007207, allocations: 7.969 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.119e-05/0.007238, allocations: 0 / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.007268, allocations: 4 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.856e-05/0.007287, allocations: 0 / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.007296, allocations: 4 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.008552, allocations: 0.6431 MB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.00856, allocations: 0 / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.008585, allocations: 4 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007943/0.009379, allocations: 466.7 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.009383, allocations: 0 / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.009384, allocations: 4 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.009388, allocations: 0 / 381.4 MB, free: 14.68 MB / 362.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.0008298/0.01022, allocations: 445.2 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.01026, allocations: 12.03 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.0103, allocations: 0.9375 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.0104, allocations: 108.6 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.01042, allocations: 384 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.01043, allocations: 8.359 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.01054, allocations: 59.97 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.01055, allocations: 192 / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.01056, allocations: 4.375 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.01057, allocations: 3.938 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.0106, allocations: 29.64 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.01076, allocations: 112.6 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.635e-05/0.01084, allocations: 48.77 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.01089, allocations: 41.48 kB / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.0109, allocations: 0 / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/0.01095, allocations: 59.09 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.01095, allocations: 4 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002417/0.0112, allocations: 122.7 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.01126, allocations: 81.05 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.01136, allocations: 146.2 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.01138, allocations: 25.7 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.01145, allocations: 126.9 kB / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.01146, allocations: 0 / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.0115, allocations: 19.38 kB / 382.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002768/0.01178, allocations: 496.1 kB / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.147e-05/0.01181, allocations: 29.7 kB / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/0.01183, allocations: 29.83 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.0119, allocations: 67.09 kB / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01191, allocations: 3.938 kB / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001058/0.01201, allocations: 89.09 kB / 383.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.01205, allocations: 29.7 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.01205, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01207, allocations: 4 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.01207, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.01207, allocations: 7.875 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.01209, allocations: 8.047 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.0121, allocations: 0 / 383.6 MB, free: 12.2 MB / 362.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 0.0001336/0.01223, allocations: 186.3 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.01224, allocations: 0 / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.088e-05/0.01225, allocations: 6.984 kB / 383.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.01225, allocations: 0 / 383.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.01225, allocations: 4 kB / 383.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01226, allocations: 3.938 kB / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.846e-05/0.01236, allocations: 104.6 kB / 383.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.01236, allocations: 0 / 383.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.01236, allocations: 0 / 383.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.01236, allocations: 4 kB / 383.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01237, allocations: 8 kB / 383.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.01237, allocations: 3.938 kB / 383.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01237, allocations: 0 / 383.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.01252, allocations: 131.8 kB / 384 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-06/0.01253, allocations: 0 / 384 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.01254, allocations: 7.984 kB / 384 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-06/0.01255, allocations: 0 / 384 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.01256, allocations: 0 / 384 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.01257, allocations: 0 / 384 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.639e-05/0.01263, allocations: 131.2 kB / 384.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01263, allocations: 0 / 384.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004162/0.01305, allocations: 135.5 kB / 384.3 MB, free: 11.4 MB / 362.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.0008589/0.01391, allocations: 331.7 kB / 384.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.01407, allocations: 122.4 kB / 384.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01407, allocations: 0 / 384.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.01415, allocations: 92.8 kB / 384.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.01428, allocations: 13.61 kB / 384.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.01452, allocations: 110.5 kB / 384.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.108e-05/0.01459, allocations: 55.36 kB / 385 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.35e-06/0.01459, allocations: 0 / 385 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.01461, allocations: 8.5 kB / 385 MB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01461, allocations: 0 / 385 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Templates: time 0.008603/0.02321, allocations: 3.538 MB / 388.5 MB, free: 7.035 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.153044831007719]