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.001468/0.001468, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001524/0.001524, allocations: 170.3 kB / 24.84 MB, free: 8.91 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.9701/0.9701, allocations: 158.6 MB / 186.7 MB, free: 2.805 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.1518/0.1518, allocations: 32.38 MB / 271.5 MB, free: 14.54 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.914e-06/1.914e-06, allocations: 0 / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.205e-05, allocations: 8.219 kB / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001407/0.001439, allocations: 0.5275 MB / 349.4 MB, free: 8.656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.003953, allocations: 2.016 MB / 351.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.394e-05/0.003977, allocations: 0 / 351.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.003997, allocations: 0 / 351.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.812e-06/0.004004, allocations: 0 / 351.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.005096, allocations: 0.5179 MB / 352 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.804e-05/0.005154, allocations: 8 kB / 352 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.005203, allocations: 0 / 352 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.005238, allocations: 3.938 kB / 352 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.894e-05/0.005267, allocations: 0 / 352 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.005278, allocations: 0 / 352 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007265/0.006004, allocations: 0.6197 MB / 352.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.006015, allocations: 0 / 352.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.54e-05/0.00603, allocations: 11.92 kB / 352.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.00649, allocations: 454.8 kB / 353.1 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.006494, allocations: 4 kB / 353.1 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.006497, allocations: 0 / 353.1 MB, free: 5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.006506, allocations: 0 / 353.1 MB, free: 5 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.0004224/0.006929, allocations: 441.3 kB / 353.5 MB, free: 4.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.006979, allocations: 12.03 kB / 353.5 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.007015, allocations: 4.938 kB / 353.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.851e-05/0.007064, allocations: 108.6 kB / 353.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.007077, allocations: 384 / 353.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.007086, allocations: 4.375 kB / 353.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.895e-05/0.007165, allocations: 55.95 kB / 353.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.007171, allocations: 4.125 kB / 353.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.007177, allocations: 384 / 353.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.007181, allocations: 7.938 kB / 353.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.189e-05/0.007193, allocations: 29.64 kB / 353.7 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.003e-05/0.007253, allocations: 89.27 kB / 353.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.705e-05/0.00729, allocations: 60.78 kB / 353.9 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.007304, allocations: 33.39 kB / 353.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-06/0.007309, allocations: 4.062 kB / 353.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.007335, allocations: 67.08 kB / 354 MB, free: 3.941 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.007336, allocations: 0 / 354 MB, free: 3.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001517/0.007487, allocations: 114.8 kB / 354.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.007513, allocations: 77.11 kB / 354.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.581e-05/0.007538, allocations: 146.2 kB / 354.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.007545, allocations: 29.7 kB / 354.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.323e-05/0.007559, allocations: 127 kB / 354.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.007576, allocations: 8.297 kB / 354.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.0076, allocations: 19.38 kB / 354.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.007667, allocations: 496.1 kB / 355 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.007685, allocations: 29.7 kB / 355 MB, free: 2.824 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.007e-05/0.007695, allocations: 25.7 kB / 355 MB, free: 2.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.208e-05/0.007727, allocations: 63.09 kB / 355.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.00773, allocations: 7.938 kB / 355.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.707e-05/0.007787, allocations: 89.09 kB / 355.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.00781, allocations: 33.7 kB / 355.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007816, allocations: 4.094 kB / 355.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.007823, allocations: 0 / 355.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.007823, allocations: 0 / 355.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.007826, allocations: 0 / 355.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/0.00784, allocations: 3.938 kB / 355.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.007846, allocations: 3.984 kB / 355.2 MB, free: 2.551 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.744e-05/0.007904, allocations: 186.3 kB / 355.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-06/0.00791, allocations: 0 / 355.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.19e-05/0.007921, allocations: 11 kB / 355.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.007923, allocations: 0 / 355.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.007925, allocations: 4 kB / 355.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.007928, allocations: 0 / 355.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.187e-05/0.007969, allocations: 97.14 kB / 355.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.00797, allocations: 0 / 355.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-06/0.007971, allocations: 7.984 kB / 355.5 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.007972, allocations: 0 / 355.5 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.007977, allocations: 0 / 355.5 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3e-07/0.007977, allocations: 3.938 kB / 355.5 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.007979, allocations: 0 / 355.5 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.117e-05/0.00806, allocations: 127.8 kB / 355.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.008066, allocations: 4.031 kB / 355.6 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.008078, allocations: 4 kB / 355.6 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-06/0.008086, allocations: 0 / 355.6 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.008099, allocations: 0 / 355.6 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.008105, allocations: 8 kB / 355.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.42e-05/0.008129, allocations: 119.2 kB / 355.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008129, allocations: 0 / 355.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.008464, allocations: 127.5 kB / 355.9 MB, free: 1.785 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.000529/0.008993, allocations: 326.6 kB / 356.2 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.636e-05/0.009079, allocations: 122.4 kB / 356.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.009081, allocations: 0 / 356.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.658e-05/0.009097, allocations: 92.73 kB / 356.4 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.529e-05/0.009192, allocations: 10.45 kB / 356.4 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.00937, allocations: 110.5 kB / 356.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.484e-05/0.009394, allocations: 55.36 kB / 356.6 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.432e-06/0.009401, allocations: 4.125 kB / 356.6 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.009438, allocations: 70.2 kB / 356.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.009439, allocations: 0 / 356.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of Templates: time 0.006767/0.01621, allocations: 4.074 MB / 360.7 MB, free: 12.83 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.4752909569069743]