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.001284/0.001284, allocations: 116.4 kB / 17.08 MB, free: 5.988 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.001326/0.001326, allocations: 198.5 kB / 18.02 MB, free: 5.066 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.211/1.211, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1823/0.1823, allocations: 43.52 MB / 314.8 MB, free: 456 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.001348/0.001348, allocations: 73.45 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1045, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003128/0.1076, allocations: 2.291 MB / 0.4908 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1087, allocations: 0.667 MB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.1088, allocations: 4 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.183e-05/0.1089, allocations: 39.58 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.109, allocations: 71.33 kB / 0.4915 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1093, allocations: 83.89 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.1096, allocations: 351.2 kB / 0.4919 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.1098, allocations: 159.4 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.11, allocations: 139.5 kB / 0.4922 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.1102, allocations: 159.4 kB / 0.4924 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.1102, allocations: 32 kB / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.793e-05/0.1103, allocations: 32 kB / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.1104, allocations: 75.81 kB / 0.4925 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.1105, allocations: 151.3 kB / 0.4927 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.1108, allocations: 382.6 kB / 0.493 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1108, allocations: 0 / 0.493 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1108, allocations: 4 kB / 0.493 GB, free: 7.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1108, allocations: 0 / 0.493 GB, free: 7.164 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.0008378/0.1117, allocations: 0.5695 MB / 0.4936 GB, free: 6.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1117, allocations: 11.89 kB / 0.4936 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.1118, allocations: 32.56 kB / 0.4936 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.1119, allocations: 203.9 kB / 0.4938 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.112, allocations: 25.03 kB / 0.4938 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.112, allocations: 28.38 kB / 0.4939 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.1125, allocations: 282.3 kB / 0.4941 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1125, allocations: 0 / 0.4941 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.1125, allocations: 16 kB / 0.4942 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1125, allocations: 8 kB / 0.4942 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.1129, allocations: 222.5 kB / 0.4944 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.1144, allocations: 1.009 MB / 0.4954 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.472e-05/0.1145, allocations: 38.5 kB / 0.4954 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1145, allocations: 20.92 kB / 0.4954 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1146, allocations: 7.984 kB / 0.4954 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.1146, allocations: 30.56 kB / 0.4955 GB, free: 4.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1146, allocations: 4 kB / 0.4955 GB, free: 4.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.00018/0.1148, allocations: 73.36 kB / 0.4955 GB, free: 4.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.1148, allocations: 59.34 kB / 0.4956 GB, free: 4.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.1151, allocations: 318.8 kB / 0.4959 GB, free: 4.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1152, allocations: 25.7 kB / 0.4959 GB, free: 4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.1153, allocations: 230.8 kB / 0.4961 GB, free: 3.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.1153, allocations: 11.98 kB / 0.4961 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/0.1154, allocations: 57.52 kB / 0.4962 GB, free: 3.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1155, allocations: 338.9 kB / 0.4965 GB, free: 3.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.1156, allocations: 59.97 kB / 0.4966 GB, free: 3.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1158, allocations: 86.19 kB / 0.4967 GB, free: 3.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.1159, allocations: 127 kB / 0.4968 GB, free: 3.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.116, allocations: 0 / 0.4968 GB, free: 3.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003388/0.1163, allocations: 233.4 kB / 0.497 GB, free: 2.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1163, allocations: 8 kB / 0.497 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1163, allocations: 3.938 kB / 0.497 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1164, allocations: 4 kB / 0.497 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.1166, allocations: 51.91 kB / 0.4971 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1166, allocations: 0 / 0.4971 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.1169, allocations: 47.52 kB / 0.4971 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1169, allocations: 4 kB / 0.4971 GB, free: 2.727 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.0001064/0.117, allocations: 141.7 kB / 0.4973 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.117, allocations: 23.72 kB / 0.4973 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.1171, allocations: 28.83 kB / 0.4973 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1171, allocations: 3.938 kB / 0.4973 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1171, allocations: 0 / 0.4973 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1171, allocations: 0 / 0.4973 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.1176, allocations: 0.5033 MB / 0.4978 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1177, allocations: 0 / 0.4978 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.1177, allocations: 4.062 kB / 0.4978 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1177, allocations: 7.984 kB / 0.4978 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1177, allocations: 0 / 0.4978 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1177, allocations: 0 / 0.4978 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1177, allocations: 0 / 0.4978 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.1178, allocations: 105.6 kB / 0.4979 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.1179, allocations: 96.91 kB / 0.498 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.1179, allocations: 15.95 kB / 0.498 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.118, allocations: 0 / 0.498 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.1181, allocations: 0 / 0.498 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.1181, allocations: 4 kB / 0.498 GB, free: 1.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.1183, allocations: 218 kB / 0.4982 GB, free: 1.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1183, allocations: 0 / 0.4982 GB, free: 1.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1186, allocations: 67.75 kB / 0.4983 GB, free: 1.398 MB / 382.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 8.849e-05/0.1186, allocations: 99.23 kB / 0.4984 GB, free: 1.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.1189, allocations: 111.9 kB / 0.4985 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1189, allocations: 0 / 0.4985 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.395e-05/0.1189, allocations: 15.94 kB / 0.4985 GB, free: 1.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.1192, allocations: 24.81 kB / 0.4985 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/0.1198, allocations: 397.3 kB / 0.4989 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1201, allocations: 0.744 MB / 0.4996 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.1202, allocations: 23.42 kB / 0.4997 GB, free: 15.93 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1202, allocations: 0 / 0.4997 GB, free: 15.93 MB / 398.1 MB Notification: Performance of Templates: time 0.004054/0.1242, allocations: 2.762 MB / 0.5024 GB, free: 13.17 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