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.001353/0.001353, allocations: 114.7 kB / 17.09 MB, free: 5.984 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.001424/0.001424, allocations: 198.1 kB / 18.03 MB, free: 5.055 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.574/1.574, 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.222/0.222, allocations: 43.52 MB / 314.8 MB, free: 460 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.001599/0.001599, allocations: 70.02 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1216, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004091/0.1258, allocations: 2.301 MB / 0.4908 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1271, allocations: 0.6631 MB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.1274, allocations: 4 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.1275, allocations: 43.58 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.1279, allocations: 71.33 kB / 0.4915 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.1282, allocations: 87.89 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000464/0.1287, allocations: 343.2 kB / 0.492 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003099/0.129, allocations: 159.5 kB / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.1293, allocations: 147.5 kB / 0.4923 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.1295, allocations: 151.4 kB / 0.4924 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.1296, allocations: 36 kB / 0.4924 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.925e-05/0.1297, allocations: 32 kB / 0.4925 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.1298, allocations: 63.83 kB / 0.4925 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.1299, allocations: 159.2 kB / 0.4927 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.1304, allocations: 386.5 kB / 0.493 GB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1304, allocations: 0 / 0.493 GB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1304, allocations: 0 / 0.493 GB, free: 7.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.1304, allocations: 0 / 0.493 GB, free: 7.176 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.001003/0.1314, allocations: 0.5769 MB / 0.4936 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1315, allocations: 11.89 kB / 0.4936 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.037e-05/0.1316, allocations: 32.75 kB / 0.4936 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.1318, allocations: 204 kB / 0.4938 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.1318, allocations: 25.03 kB / 0.4939 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.1319, allocations: 32.38 kB / 0.4939 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.1324, allocations: 286.2 kB / 0.4942 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1324, allocations: 4 kB / 0.4942 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.1324, allocations: 12 kB / 0.4942 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.1324, allocations: 8 kB / 0.4942 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.1328, allocations: 210.5 kB / 0.4944 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.1346, allocations: 1.025 MB / 0.4954 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.266e-05/0.1347, allocations: 30.52 kB / 0.4954 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.1348, allocations: 24.92 kB / 0.4954 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.1348, allocations: 4 kB / 0.4955 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1348, allocations: 30.56 kB / 0.4955 GB, free: 4.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.004e-06/0.1348, allocations: 4 kB / 0.4955 GB, free: 4.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002324/0.1351, allocations: 81.48 kB / 0.4956 GB, free: 4.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.1351, allocations: 51.41 kB / 0.4956 GB, free: 4.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.1355, allocations: 318.8 kB / 0.4959 GB, free: 4.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.1355, allocations: 29.7 kB / 0.4959 GB, free: 3.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.1358, allocations: 235.5 kB / 0.4962 GB, free: 3.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.1358, allocations: 7.953 kB / 0.4962 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.1359, allocations: 53.66 kB / 0.4962 GB, free: 3.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1361, allocations: 334.9 kB / 0.4965 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.1363, allocations: 63.97 kB / 0.4966 GB, free: 3.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.1365, allocations: 86.19 kB / 0.4967 GB, free: 3.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.1368, allocations: 127 kB / 0.4968 GB, free: 3.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1368, allocations: 0 / 0.4968 GB, free: 3.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005397/0.1374, allocations: 237.5 kB / 0.497 GB, free: 2.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1374, allocations: 4 kB / 0.497 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1374, allocations: 4 kB / 0.497 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.1375, allocations: 3.938 kB / 0.497 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.1378, allocations: 63.89 kB / 0.4971 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.1379, allocations: 4 kB / 0.4971 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.1382, allocations: 35.62 kB / 0.4971 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.1382, allocations: 12 kB / 0.4972 GB, free: 2.715 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.0002592/0.1385, allocations: 133.7 kB / 0.4973 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.19e-05/0.1386, allocations: 19.91 kB / 0.4973 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.1386, allocations: 28.83 kB / 0.4973 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1386, allocations: 3.938 kB / 0.4973 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1387, allocations: 0 / 0.4973 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1388, allocations: 101 kB / 0.4974 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.1388, allocations: 7.984 kB / 0.4974 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.139, allocations: 0 / 0.4974 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.139, allocations: 4 kB / 0.4974 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002413/0.1393, allocations: 125 kB / 0.4976 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002193/0.1395, allocations: 254.6 kB / 0.4978 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.69e-05/0.1396, allocations: 11.94 kB / 0.4978 GB, free: 1.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003309/0.1399, allocations: 221.9 kB / 0.498 GB, free: 1.762 MB / 382.1 MB Notification: Performance of Backend: time 6.61e-07/0.1399, allocations: 0 / 0.498 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006965/0.1406, allocations: 178.3 kB / 0.4982 GB, free: 1.582 MB / 382.1 MB Notification: Performance of SimCode: time 0.001229/0.1419, allocations: 0.8358 MB / 0.499 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of Templates: time 0.008221/0.1501, allocations: 2.523 MB / 0.5015 GB, free: 14.18 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