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.001185/0.001185, allocations: 107.1 kB / 17.03 MB, free: 5.664 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.001225/0.001224, allocations: 192.1 kB / 17.96 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.376/1.376, allocations: 205.1 MB / 223.8 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.2003/0.2003, allocations: 43.52 MB / 314.7 MB, free: 468 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.001562/0.001562, allocations: 67.03 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.12, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003794/0.1239, allocations: 2.302 MB / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1249, allocations: 0.6515 MB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1251, allocations: 12 kB / 444.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1252, allocations: 39.58 kB / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.1254, allocations: 75.33 kB / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1257, allocations: 83.89 kB / 445.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.126, allocations: 347.1 kB / 445.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.1264, allocations: 155.5 kB / 445.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.1266, allocations: 143.5 kB / 445.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.1268, allocations: 155.3 kB / 445.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.1269, allocations: 36 kB / 445.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.596e-05/0.127, allocations: 32 kB / 446 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.127, allocations: 67.77 kB / 446 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.1272, allocations: 163.2 kB / 446.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.1275, allocations: 382.7 kB / 446.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1276, allocations: 0 / 446.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1276, allocations: 0 / 446.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1276, allocations: 0 / 446.6 MB, free: 1.496 MB / 318.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.001007/0.1286, allocations: 0.5734 MB / 447.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1286, allocations: 11.89 kB / 447.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.1287, allocations: 32.56 kB / 447.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1289, allocations: 207.8 kB / 447.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.1289, allocations: 25.03 kB / 447.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.129, allocations: 32.38 kB / 447.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.1296, allocations: 282.3 kB / 447.7 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1296, allocations: 0 / 447.7 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.1296, allocations: 20 kB / 447.7 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.1297, allocations: 8 kB / 447.7 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.1301, allocations: 210.5 kB / 448 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.1324, allocations: 1.017 MB / 449 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.507e-05/0.1325, allocations: 30.52 kB / 449 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.1326, allocations: 28.92 kB / 449 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1326, allocations: 3.938 kB / 449 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1326, allocations: 30.56 kB / 449.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.1326, allocations: 0 / 449.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002715/0.1329, allocations: 85.34 kB / 449.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.133, allocations: 51.41 kB / 449.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.1335, allocations: 318.8 kB / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1335, allocations: 29.7 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.1337, allocations: 234.8 kB / 449.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.1337, allocations: 0 / 449.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.1338, allocations: 61.52 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.134, allocations: 334.9 kB / 450.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.1342, allocations: 67.97 kB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.1344, allocations: 85.69 kB / 450.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.1347, allocations: 123.5 kB / 450.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1347, allocations: 0 / 450.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005342/0.1352, allocations: 229.4 kB / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1353, allocations: 8.031 kB / 450.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1353, allocations: 7.938 kB / 450.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1353, allocations: 0 / 450.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.1357, allocations: 59.83 kB / 450.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1357, allocations: 4 kB / 450.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.1361, allocations: 35.53 kB / 450.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.1361, allocations: 12 kB / 450.8 MB, free: 13.05 MB / 334.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.0001412/0.1363, allocations: 134.6 kB / 450.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.1363, allocations: 23.72 kB / 450.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.33e-05/0.1364, allocations: 28.83 kB / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.1364, allocations: 0 / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1364, allocations: 0 / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1364, allocations: 0 / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/0.1373, allocations: 0.5149 MB / 451.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1373, allocations: 0 / 451.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.1373, allocations: 4 kB / 451.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1373, allocations: 64 / 451.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1374, allocations: 8 kB / 451.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1374, allocations: 3.938 kB / 451.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1374, allocations: 0 / 451.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.1376, allocations: 101.6 kB / 451.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.1377, allocations: 104.9 kB / 451.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.1378, allocations: 0 / 451.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.1379, allocations: 4.031 kB / 451.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.138, allocations: 8 kB / 451.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.138, allocations: 0 / 451.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003619/0.1383, allocations: 221.9 kB / 451.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1384, allocations: 0 / 451.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004551/0.1388, allocations: 67.75 kB / 452 MB, free: 11.73 MB / 334.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 0.0001189/0.139, allocations: 91.25 kB / 452.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.1393, allocations: 119.9 kB / 452.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1393, allocations: 0 / 452.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-05/0.1394, allocations: 11.92 kB / 452.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.1398, allocations: 28.83 kB / 452.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/0.1407, allocations: 367.8 kB / 452.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.1411, allocations: 0.744 MB / 453.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.1412, allocations: 17.94 kB / 453.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.1414, allocations: 23.38 kB / 453.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1414, allocations: 4 kB / 453.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of Templates: time 0.006093/0.1475, allocations: 1.744 MB / 455.1 MB, free: 8.535 MB / 334.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 -s gbode -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