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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 107.4 kB / 17.09 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001187, allocations: 198.2 kB / 18.02 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2123/0.2123, allocations: 43.54 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 67.89 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1076, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004581/0.1122, allocations: 2.305 MB / 0.4908 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1136, allocations: 0.6592 MB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.1139, allocations: 4 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.114, allocations: 35.59 kB / 0.4915 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.1143, allocations: 71.33 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.1146, allocations: 95.86 kB / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.1151, allocations: 343.2 kB / 0.492 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.1154, allocations: 159.4 kB / 0.4921 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.1157, allocations: 147.5 kB / 0.4922 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.1161, allocations: 155.4 kB / 0.4924 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.293e-05/0.1161, allocations: 32 kB / 0.4924 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.088e-05/0.1162, allocations: 36 kB / 0.4925 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.9e-05/0.1163, allocations: 67.83 kB / 0.4925 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.1165, allocations: 159.2 kB / 0.4927 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.117, allocations: 374.7 kB / 0.493 GB, free: 7.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.117, allocations: 0 / 0.493 GB, free: 7.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.117, allocations: 0 / 0.493 GB, free: 7.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.117, allocations: 0 / 0.493 GB, free: 7.203 MB / 382.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.001222/0.1182, allocations: 0.5695 MB / 0.4936 GB, free: 6.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.1183, allocations: 23.81 kB / 0.4936 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.1184, allocations: 32.56 kB / 0.4936 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1187, allocations: 203.9 kB / 0.4938 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.1187, allocations: 25.03 kB / 0.4939 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.1188, allocations: 28.38 kB / 0.4939 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.1194, allocations: 286.3 kB / 0.4942 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.1194, allocations: 0 / 0.4942 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.1194, allocations: 12 kB / 0.4942 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1195, allocations: 8 kB / 0.4942 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.1199, allocations: 214.5 kB / 0.4944 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.1218, allocations: 1.013 MB / 0.4954 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.271e-05/0.1219, allocations: 34.52 kB / 0.4954 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.1219, allocations: 24.92 kB / 0.4954 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.122, allocations: 0 / 0.4954 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.122, allocations: 38.56 kB / 0.4955 GB, free: 4.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 3.827e-06/0.122, allocations: 3.984 kB / 0.4955 GB, free: 4.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002518/0.1223, allocations: 77.34 kB / 0.4955 GB, free: 4.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.1223, allocations: 51.41 kB / 0.4956 GB, free: 4.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.1227, allocations: 318.8 kB / 0.4959 GB, free: 4.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1227, allocations: 33.83 kB / 0.4959 GB, free: 4.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1229, allocations: 226.8 kB / 0.4961 GB, free: 3.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.1229, allocations: 8 kB / 0.4962 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.123, allocations: 57.52 kB / 0.4962 GB, free: 3.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1232, allocations: 330.8 kB / 0.4965 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1233, allocations: 63.97 kB / 0.4966 GB, free: 3.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.1234, allocations: 86.19 kB / 0.4967 GB, free: 3.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.1236, allocations: 134.9 kB / 0.4968 GB, free: 3.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1236, allocations: 0 / 0.4968 GB, free: 3.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003817/0.124, allocations: 225.4 kB / 0.497 GB, free: 2.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1241, allocations: 4 kB / 0.497 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1241, allocations: 0 / 0.497 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1241, allocations: 7.938 kB / 0.497 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.1244, allocations: 59.89 kB / 0.4971 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1244, allocations: 0 / 0.4971 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.1247, allocations: 43.56 kB / 0.4971 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1247, allocations: 4 kB / 0.4971 GB, free: 2.766 MB / 382.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.000118/0.1248, allocations: 141.7 kB / 0.4973 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.1249, allocations: 19.72 kB / 0.4973 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.1249, allocations: 32.77 kB / 0.4973 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1249, allocations: 0 / 0.4973 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1249, allocations: 0 / 0.4973 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.125, allocations: 100.9 kB / 0.4974 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.1251, allocations: 3.938 kB / 0.4974 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1252, allocations: 12 kB / 0.4974 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.1252, allocations: 0 / 0.4974 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001813/0.1254, allocations: 132.9 kB / 0.4975 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001545/0.1256, allocations: 238.5 kB / 0.4978 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.025e-05/0.1256, allocations: 12 kB / 0.4978 GB, free: 2.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002229/0.1258, allocations: 226 kB / 0.498 GB, free: 1.805 MB / 382.1 MB Notification: Performance of Backend: time 5.91e-07/0.1258, allocations: 0 / 0.498 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004927/0.1263, allocations: 181 kB / 0.4982 GB, free: 1.625 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009705/0.1273, allocations: 0.8246 MB / 0.499 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of Templates: time 0.005749/0.1331, allocations: 2.59 MB / 0.5015 GB, free: 14.16 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.makefile (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) 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) Reference file matches