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.001482/0.001482, allocations: 109 kB / 20.45 MB, free: 1.52 MB / 14.72 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.001662/0.001662, allocations: 209.2 kB / 23.75 MB, free: 4.75 MB / 14.72 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.291/1.291, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 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.2076/0.2076, allocations: 44.23 MB / 331 MB, free: 9.539 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 67.84 kB / 468.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1095, allocations: 61.03 MB / 0.5174 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001579/0.111, allocations: 0.5251 MB / 0.5179 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.1143, allocations: 2.376 MB / 0.5202 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.624e-05/0.1144, allocations: 0 / 0.5202 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.1144, allocations: 0 / 0.5202 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.212e-06/0.1144, allocations: 3.938 kB / 0.5202 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.1158, allocations: 0.5765 MB / 0.5208 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.1159, allocations: 7.984 kB / 0.5208 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.1159, allocations: 4 kB / 0.5208 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.452e-05/0.116, allocations: 0 / 0.5208 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.647e-05/0.116, allocations: 3.938 kB / 0.5208 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.116, allocations: 0 / 0.5208 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.1171, allocations: 0.7876 MB / 0.5215 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-06/0.1171, allocations: 0 / 0.5215 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.1171, allocations: 8 kB / 0.5216 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006013/0.1177, allocations: 458.8 kB / 0.522 GB, free: 2.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1178, allocations: 0 / 0.522 GB, free: 2.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1178, allocations: 0 / 0.522 GB, free: 2.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1178, allocations: 0 / 0.522 GB, free: 2.086 MB / 398.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.000453/0.1182, allocations: 367.1 kB / 0.5223 GB, free: 1.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1182, allocations: 8.031 kB / 0.5223 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.1183, allocations: 4.938 kB / 0.5224 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.099e-05/0.1184, allocations: 106.5 kB / 0.5225 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1184, allocations: 384 / 0.5225 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.1184, allocations: 384 / 0.5225 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.646e-05/0.1185, allocations: 34.02 kB / 0.5225 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1185, allocations: 0 / 0.5225 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1185, allocations: 3.984 kB / 0.5225 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1185, allocations: 0 / 0.5225 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.737e-05/0.1185, allocations: 3.938 kB / 0.5225 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.1186, allocations: 128.7 kB / 0.5226 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.633e-05/0.1187, allocations: 14.58 kB / 0.5226 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.1187, allocations: 8.859 kB / 0.5226 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.1187, allocations: 96 / 0.5226 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.1188, allocations: 64.2 kB / 0.5227 GB, free: 1.223 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1188, allocations: 0 / 0.5227 GB, free: 1.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001624/0.1189, allocations: 71.42 kB / 0.5228 GB, free: 1.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.119, allocations: 81.14 kB / 0.5228 GB, free: 1.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.021e-05/0.119, allocations: 89.86 kB / 0.5229 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1191, allocations: 25.7 kB / 0.523 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.1191, allocations: 80.14 kB / 0.523 GB, free: 0.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.1191, allocations: 7.938 kB / 0.523 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.1191, allocations: 13.7 kB / 0.5231 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1193, allocations: 314.8 kB / 0.5234 GB, free: 500 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-06/0.1193, allocations: 0 / 0.5234 GB, free: 500 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.1193, allocations: 8 kB / 0.5234 GB, free: 492 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.958e-05/0.1193, allocations: 60.27 kB / 0.5234 GB, free: 416 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1193, allocations: 0 / 0.5234 GB, free: 416 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.293e-05/0.1194, allocations: 63.33 kB / 0.5235 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.1194, allocations: 37.64 kB / 0.5235 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1194, allocations: 0 / 0.5235 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1194, allocations: 0 / 0.5235 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.1194, allocations: 0 / 0.5235 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1194, allocations: 4.094 kB / 0.5235 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.1195, allocations: 4 kB / 0.5235 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1195, allocations: 4 kB / 0.5235 GB, free: 284 kB / 398.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 8.035e-05/0.1195, allocations: 131.5 kB / 0.5237 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.1196, allocations: 11.94 kB / 0.5237 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.808e-06/0.1196, allocations: 6.984 kB / 0.5237 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.1196, allocations: 0 / 0.5237 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.1196, allocations: 0 / 0.5237 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1196, allocations: 0 / 0.5237 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.467e-05/0.1197, allocations: 116.8 kB / 0.5238 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1197, allocations: 4 kB / 0.5238 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1197, allocations: 0 / 0.5238 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1197, allocations: 3.938 kB / 0.5238 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.1197, allocations: 3.938 kB / 0.5238 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.1197, allocations: 0 / 0.5238 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1197, allocations: 3.984 kB / 0.5238 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.945e-05/0.1198, allocations: 90.78 kB / 0.5239 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.1198, allocations: 8.016 kB / 0.5239 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.1198, allocations: 11.92 kB / 0.5239 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-06/0.1198, allocations: 4 kB / 0.5239 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-06/0.1198, allocations: 0 / 0.5239 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1198, allocations: 0 / 0.5239 GB, free: 15.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.933e-05/0.1199, allocations: 75.28 kB / 0.524 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1199, allocations: 0 / 0.524 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.1203, allocations: 163.3 kB / 0.5241 GB, free: 15.57 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.0006779/0.1209, allocations: 331.1 kB / 0.5244 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.1211, allocations: 59.41 kB / 0.5245 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1211, allocations: 0 / 0.5245 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.1211, allocations: 59.34 kB / 0.5246 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.1212, allocations: 11.92 kB / 0.5246 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.1214, allocations: 110.7 kB / 0.5247 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1217, allocations: 0.669 MB / 0.5253 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.094e-05/0.1217, allocations: 7.438 kB / 0.5253 GB, free: 14.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1217, allocations: 0 / 0.5253 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Templates: time 0.005403/0.1271, allocations: 3.296 MB / 0.5286 GB, free: 10.95 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","/var/lib/jenkins1/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: 7.554799546021968]