Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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.00185/0.00185, allocations: 105.2 kB / 20.44 MB, free: 1.504 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.001618/0.001618, allocations: 217.3 kB / 23.76 MB, free: 4.727 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.322/1.322, allocations: 207.6 MB / 234.5 MB, free: 9.984 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.2075/0.2075, allocations: 44.23 MB / 331 MB, free: 9.52 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.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage") [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: 80.45 kB / 468.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.108, allocations: 61.04 MB / 0.5174 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003592/0.1116, allocations: 2.336 MB / 0.5196 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.113, allocations: 0.6553 MB / 0.5203 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.1132, allocations: 4 kB / 0.5203 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.1133, allocations: 39.58 kB / 0.5203 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.1135, allocations: 75.33 kB / 0.5204 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.1138, allocations: 91.89 kB / 0.5205 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000396/0.1142, allocations: 351.1 kB / 0.5208 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.1144, allocations: 115.8 kB / 0.5209 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.1147, allocations: 143.5 kB / 0.5211 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.1149, allocations: 155.4 kB / 0.5212 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.487e-05/0.115, allocations: 39.94 kB / 0.5213 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.115, allocations: 35.94 kB / 0.5213 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.043e-05/0.1151, allocations: 63.83 kB / 0.5213 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.1153, allocations: 159.3 kB / 0.5215 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.1156, allocations: 378.5 kB / 0.5219 GB, free: 2.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1156, allocations: 3.984 kB / 0.5219 GB, free: 2.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1156, allocations: 0 / 0.5219 GB, free: 2.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.1156, allocations: 0 / 0.5219 GB, free: 2.215 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009392/0.1166, allocations: 0.5055 MB / 0.5224 GB, free: 1.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1166, allocations: 8.031 kB / 0.5224 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.1167, allocations: 32.75 kB / 0.5224 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1169, allocations: 146.2 kB / 0.5225 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.1169, allocations: 25.02 kB / 0.5226 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.1169, allocations: 32.38 kB / 0.5226 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.1174, allocations: 278.4 kB / 0.5229 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1174, allocations: 4 kB / 0.5229 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.1174, allocations: 12 kB / 0.5229 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1175, allocations: 8 kB / 0.5229 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.1178, allocations: 218.5 kB / 0.5231 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.1195, allocations: 0.9707 MB / 0.524 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.107e-05/0.1196, allocations: 30.56 kB / 0.5241 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.1196, allocations: 28.86 kB / 0.5241 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.1196, allocations: 0 / 0.5241 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1197, allocations: 38.56 kB / 0.5241 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1197, allocations: 0 / 0.5241 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002009/0.1199, allocations: 77.5 kB / 0.5242 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.1199, allocations: 51.41 kB / 0.5243 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.1203, allocations: 324.1 kB / 0.5246 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1203, allocations: 25.7 kB / 0.5246 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1205, allocations: 239.4 kB / 0.5248 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.1205, allocations: 11.94 kB / 0.5248 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/0.1206, allocations: 57.78 kB / 0.5249 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1207, allocations: 330.8 kB / 0.5252 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.1208, allocations: 67.91 kB / 0.5253 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.121, allocations: 86.69 kB / 0.5253 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1212, allocations: 122.2 kB / 0.5255 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1212, allocations: 4 kB / 0.5255 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000376/0.1215, allocations: 237.4 kB / 0.5257 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1215, allocations: 4 kB / 0.5257 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1216, allocations: 3.938 kB / 0.5257 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1216, allocations: 4 kB / 0.5257 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.1218, allocations: 55.91 kB / 0.5258 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1219, allocations: 3.938 kB / 0.5258 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.1221, allocations: 51.61 kB / 0.5258 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1221, allocations: 11.98 kB / 0.5258 GB, free: 13.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0001174/0.1222, allocations: 133.8 kB / 0.5259 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.1223, allocations: 19.91 kB / 0.526 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.1223, allocations: 24.92 kB / 0.526 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1223, allocations: 0 / 0.526 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1223, allocations: 0 / 0.526 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1223, allocations: 0 / 0.526 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005915/0.1229, allocations: 494.4 kB / 0.5265 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1229, allocations: 64 / 0.5265 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.1229, allocations: 11.94 kB / 0.5265 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1229, allocations: 3.984 kB / 0.5265 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1229, allocations: 0 / 0.5265 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1229, allocations: 4 kB / 0.5265 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1229, allocations: 0 / 0.5265 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.1231, allocations: 97.8 kB / 0.5266 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.1231, allocations: 31.92 kB / 0.5266 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.1232, allocations: 0 / 0.5266 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/0.1233, allocations: 3.984 kB / 0.5266 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.1233, allocations: 7.938 kB / 0.5266 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.1233, allocations: 0 / 0.5266 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.1235, allocations: 219.1 kB / 0.5268 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1235, allocations: 0 / 0.5268 GB, free: 12.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1238, allocations: 67.84 kB / 0.5269 GB, free: 12.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 9.307e-05/0.1239, allocations: 99.23 kB / 0.527 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.1241, allocations: 100.2 kB / 0.5271 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1241, allocations: 0 / 0.5271 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.1241, allocations: 8 kB / 0.5271 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.1244, allocations: 28.91 kB / 0.5271 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.1251, allocations: 409.2 kB / 0.5275 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1254, allocations: 0.7401 MB / 0.5282 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.1255, allocations: 23.42 kB / 0.5282 GB, free: 11.31 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1255, allocations: 0 / 0.5282 GB, free: 11.31 MB / 414.1 MB Notification: Performance of Templates: time 0.00541/0.1309, allocations: 2.745 MB / 0.5309 GB, free: 8.559 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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: 6.572649147128686]