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.001621/0.001621, allocations: 88.23 kB / 20.2 MB, free: 4.223 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.001776/0.001776, allocations: 157.7 kB / 23.51 MB, free: 0.918 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 1.568/1.568, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 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.2475/0.2475, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 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.084e-06/2.084e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.899e-05, allocations: 2.312 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001258/0.001287, allocations: 0.5064 MB / 347.4 MB, free: 9.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.003798, allocations: 1.991 MB / 349.4 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.003816, allocations: 0 / 349.4 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.003831, allocations: 0 / 349.4 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.291e-06/0.003837, allocations: 0 / 349.4 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.005119, allocations: 0.5139 MB / 349.9 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.491e-05/0.005164, allocations: 7.984 kB / 349.9 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.165e-05/0.005196, allocations: 0 / 349.9 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.682e-05/0.005223, allocations: 8 kB / 350 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.812e-05/0.005241, allocations: 0 / 350 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.824e-06/0.005249, allocations: 0 / 350 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007695/0.006018, allocations: 0.6274 MB / 350.6 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.897e-06/0.006027, allocations: 3.938 kB / 350.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.006051, allocations: 0 / 350.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.0065, allocations: 462.8 kB / 351 MB, free: 5.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.006502, allocations: 0 / 351 MB, free: 5.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006503, allocations: 0 / 351 MB, free: 5.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.006508, allocations: 0 / 351 MB, free: 5.664 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.0004151/0.006923, allocations: 339.3 kB / 351.4 MB, free: 5.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.00696, allocations: 16.03 kB / 351.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.007007, allocations: 0.9375 kB / 351.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.862e-05/0.007056, allocations: 105.7 kB / 351.5 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.00707, allocations: 8.375 kB / 351.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-06/0.007077, allocations: 384 / 351.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.606e-05/0.007163, allocations: 63.95 kB / 351.6 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.00717, allocations: 192 / 351.6 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.007178, allocations: 384 / 351.6 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.007183, allocations: 3.938 kB / 351.6 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.007207, allocations: 25.7 kB / 351.6 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.713e-05/0.007285, allocations: 97.33 kB / 351.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.373e-05/0.007328, allocations: 48.22 kB / 351.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.007346, allocations: 38.64 kB / 351.8 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-06/0.007354, allocations: 0 / 351.8 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.007386, allocations: 60.27 kB / 351.8 MB, free: 4.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.007386, allocations: 0 / 351.8 MB, free: 4.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001739/0.00756, allocations: 122.8 kB / 351.9 MB, free: 4.582 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.007591, allocations: 81.05 kB / 352 MB, free: 4.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.177e-05/0.007613, allocations: 93.86 kB / 352.1 MB, free: 4.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.533e-06/0.007619, allocations: 25.7 kB / 352.1 MB, free: 4.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.488e-05/0.007634, allocations: 84.2 kB / 352.2 MB, free: 4.266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.007652, allocations: 7.938 kB / 352.2 MB, free: 4.258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.007675, allocations: 13.72 kB / 352.2 MB, free: 4.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.679e-05/0.007722, allocations: 310.8 kB / 352.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.007739, allocations: 33.64 kB / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.023e-05/0.007749, allocations: 25.7 kB / 352.6 MB, free: 3.855 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.007787, allocations: 68.25 kB / 352.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.007789, allocations: 0 / 352.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.29e-05/0.007842, allocations: 89.06 kB / 352.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.007866, allocations: 33.69 kB / 352.8 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.007872, allocations: 4.094 kB / 352.8 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.007888, allocations: 0 / 352.8 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/0.007889, allocations: 3.938 kB / 352.8 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.007895, allocations: 7.938 kB / 352.8 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.007909, allocations: 0 / 352.8 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.007915, allocations: 0 / 352.8 MB, free: 3.613 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 5.786e-05/0.007973, allocations: 139.5 kB / 352.9 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.007981, allocations: 0 / 352.9 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.021e-05/0.007992, allocations: 3 kB / 353 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.007993, allocations: 0 / 353 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.007997, allocations: 4 kB / 353 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.008, allocations: 7.938 kB / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.122e-05/0.008042, allocations: 97.31 kB / 353.1 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.008042, allocations: 0 / 353.1 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.008043, allocations: 0 / 353.1 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.008044, allocations: 0 / 353.1 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.008052, allocations: 7.984 kB / 353.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.008052, allocations: 0 / 353.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.008053, allocations: 0 / 353.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.43e-05/0.008127, allocations: 124.4 kB / 353.2 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-06/0.008131, allocations: 32 / 353.2 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.008144, allocations: 8 kB / 353.2 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-06/0.008153, allocations: 4 kB / 353.2 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.008168, allocations: 0 / 353.2 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.00817, allocations: 0 / 353.2 MB, free: 3.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.454e-05/0.008185, allocations: 79.22 kB / 353.3 MB, free: 3.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008185, allocations: 0 / 353.3 MB, free: 3.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003664/0.008551, allocations: 131.6 kB / 353.4 MB, free: 2.941 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.0006734/0.009225, allocations: 332.1 kB / 353.7 MB, free: 2.617 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.407e-05/0.009309, allocations: 118.8 kB / 353.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00931, allocations: 0 / 353.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.009334, allocations: 81.11 kB / 353.9 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.009462, allocations: 0 / 353.9 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001892/0.009651, allocations: 112.8 kB / 354 MB, free: 2.238 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.525e-05/0.009677, allocations: 59.34 kB / 354.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.16e-06/0.009682, allocations: 128 / 354.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.315e-05/0.009695, allocations: 12.5 kB / 354.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of SimCode: time 3.51e-07/0.009695, allocations: 0 / 354.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of Templates: time 0.006844/0.01654, allocations: 3.44 MB / 357.5 MB, free: 14.71 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=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.177539121010341]