Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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.0008673/0.0008673, allocations: 84.44 kB / 20.7 MB, free: 3.875 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.0008429/0.0008429, allocations: 169.9 kB / 23.96 MB, free: 0.6055 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.8418/0.8418, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1445/0.1445, allocations: 32.37 MB / 270.4 MB, free: 14.98 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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.797e-05, allocations: 9.875 kB / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001238/0.001266, allocations: 0.5067 MB / 408.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.003843, allocations: 2.224 MB / 410.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.00386, allocations: 0 / 410.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.003878, allocations: 0 / 410.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.195e-06/0.003887, allocations: 4 kB / 410.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.00513, allocations: 0.5839 MB / 411.4 MB, free: 9.684 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.653e-05/0.005187, allocations: 4 kB / 411.4 MB, free: 9.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.005231, allocations: 0 / 411.4 MB, free: 9.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.992e-05/0.005261, allocations: 0 / 411.4 MB, free: 9.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.182e-05/0.005283, allocations: 4 kB / 411.4 MB, free: 9.676 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.233e-06/0.00529, allocations: 0 / 411.4 MB, free: 9.676 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008019/0.006092, allocations: 0.6704 MB / 412.1 MB, free: 9.004 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.006101, allocations: 0 / 412.1 MB, free: 9.004 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.006122, allocations: 0 / 412.1 MB, free: 9.004 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005477/0.00667, allocations: 0.5182 MB / 412.6 MB, free: 8.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.006673, allocations: 4 kB / 412.6 MB, free: 8.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.006675, allocations: 0 / 412.6 MB, free: 8.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.006679, allocations: 0 / 412.6 MB, free: 8.48 MB / 346.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.0003612/0.00704, allocations: 363.1 kB / 413 MB, free: 8.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.007078, allocations: 8.031 kB / 413 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.007119, allocations: 0.9375 kB / 413 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.483e-05/0.007184, allocations: 109.8 kB / 413.1 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.0072, allocations: 4.375 kB / 413.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.00721, allocations: 384 / 413.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.007325, allocations: 59.91 kB / 413.2 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.007336, allocations: 192 / 413.2 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.007347, allocations: 4.375 kB / 413.2 MB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.007353, allocations: 3.938 kB / 413.2 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.552e-05/0.007389, allocations: 33.64 kB / 413.2 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001062/0.007495, allocations: 101.2 kB / 413.3 MB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.558e-05/0.007551, allocations: 44.31 kB / 413.3 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.007572, allocations: 34.56 kB / 413.4 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-06/0.007582, allocations: 0 / 413.4 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.007623, allocations: 60.33 kB / 413.4 MB, free: 7.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.007624, allocations: 0 / 413.4 MB, free: 7.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001923/0.007816, allocations: 118.9 kB / 413.6 MB, free: 7.383 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.007862, allocations: 89.05 kB / 413.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.078e-05/0.007902, allocations: 89.86 kB / 413.7 MB, free: 7.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.007913, allocations: 25.7 kB / 413.8 MB, free: 7.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.282e-05/0.007936, allocations: 84.14 kB / 413.8 MB, free: 7.062 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.00796, allocations: 3.953 kB / 413.8 MB, free: 7.059 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.007984, allocations: 9.719 kB / 413.8 MB, free: 7.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.008069, allocations: 314.8 kB / 414.2 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.008092, allocations: 29.69 kB / 414.2 MB, free: 6.691 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.008104, allocations: 25.7 kB / 414.2 MB, free: 6.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.008147, allocations: 68.33 kB / 414.3 MB, free: 6.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008149, allocations: 0 / 414.3 MB, free: 6.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.111e-05/0.00821, allocations: 93.03 kB / 414.4 MB, free: 6.469 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.008241, allocations: 33.7 kB / 414.4 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.008249, allocations: 7.984 kB / 414.4 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.008263, allocations: 0 / 414.4 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.008264, allocations: 0 / 414.4 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.008271, allocations: 3.938 kB / 414.4 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.008285, allocations: 0 / 414.4 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.008293, allocations: 3.938 kB / 414.4 MB, free: 6.414 MB / 346.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 7.095e-05/0.008364, allocations: 143.6 kB / 414.6 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-06/0.008368, allocations: 0 / 414.6 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.277e-05/0.008381, allocations: 6.984 kB / 414.6 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008384, allocations: 4 kB / 414.6 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.008389, allocations: 0 / 414.6 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.008392, allocations: 3.938 kB / 414.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.902e-05/0.008451, allocations: 93.33 kB / 414.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.008452, allocations: 0 / 414.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.008453, allocations: 0 / 414.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.008454, allocations: 0 / 414.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.00846, allocations: 4 kB / 414.7 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.008461, allocations: 7.938 kB / 414.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.008462, allocations: 0 / 414.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.627e-05/0.008548, allocations: 124.4 kB / 414.8 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-06/0.008553, allocations: 4 kB / 414.8 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.008565, allocations: 4 kB / 414.8 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-06/0.00857, allocations: 0 / 414.8 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.008584, allocations: 7.969 kB / 414.8 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.008587, allocations: 0 / 414.8 MB, free: 5.941 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.255e-05/0.00861, allocations: 79.22 kB / 414.9 MB, free: 5.863 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00861, allocations: 0 / 414.9 MB, free: 5.863 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003088/0.008918, allocations: 163.4 kB / 415 MB, free: 5.703 MB / 346.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.0005898/0.009508, allocations: 360.1 kB / 415.4 MB, free: 5.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.009624, allocations: 114.8 kB / 415.5 MB, free: 5.211 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.009626, allocations: 0 / 415.5 MB, free: 5.211 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.009657, allocations: 85.05 kB / 415.6 MB, free: 5.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.009762, allocations: 8.125 kB / 415.6 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001941/0.009957, allocations: 132.4 kB / 415.7 MB, free: 4.934 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.438e-05/0.009991, allocations: 51.36 kB / 415.8 MB, free: 4.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.01001, allocations: 12.5 kB / 415.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01001, allocations: 0 / 415.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of Templates: time 0.004498/0.01451, allocations: 3.331 MB / 419.1 MB, free: 1.516 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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.62554435711354]