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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009719/0.000972, allocations: 108 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3646/0.3646, allocations: 43.5 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 52.11 kB / 429.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1184, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003454/0.1219, allocations: 2.353 MB / 489.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009749/0.1229, allocations: 0.6553 MB / 490 MB, free: 9.504 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-05/0.123, allocations: 4 kB / 490 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.193e-05/0.1231, allocations: 27.78 kB / 490 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.1233, allocations: 63.52 kB / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.1235, allocations: 75.88 kB / 490.2 MB, free: 9.336 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.1237, allocations: 331.2 kB / 490.5 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.124, allocations: 135.9 kB / 490.6 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.1242, allocations: 139.5 kB / 490.8 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.1243, allocations: 143.4 kB / 490.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.1244, allocations: 24 kB / 490.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.191e-05/0.1244, allocations: 24 kB / 491 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.1245, allocations: 55.83 kB / 491 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1246, allocations: 151.2 kB / 491.2 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.1249, allocations: 370.9 kB / 491.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1249, allocations: 0 / 491.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1249, allocations: 0 / 491.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1249, allocations: 0 / 491.5 MB, free: 7.988 MB / 378.7 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.0007951/0.1257, allocations: 0.5696 MB / 492.1 MB, free: 7.371 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1257, allocations: 12.03 kB / 492.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.1258, allocations: 40.55 kB / 492.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.126, allocations: 195.9 kB / 492.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/0.1261, allocations: 25.22 kB / 492.4 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.1261, allocations: 36.31 kB / 492.4 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.1265, allocations: 282.2 kB / 492.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1265, allocations: 0 / 492.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.1266, allocations: 12 kB / 492.7 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1266, allocations: 8 kB / 492.7 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.1269, allocations: 218.5 kB / 492.9 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.1284, allocations: 1.028 MB / 493.9 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.726e-05/0.1285, allocations: 34.56 kB / 494 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.1285, allocations: 24.92 kB / 494 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.1285, allocations: 4 kB / 494 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.1286, allocations: 34.56 kB / 494 MB, free: 5.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1286, allocations: 0 / 494 MB, free: 5.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001773/0.1288, allocations: 73.39 kB / 494.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1288, allocations: 55.39 kB / 494.2 MB, free: 5.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.1292, allocations: 322.8 kB / 494.5 MB, free: 4.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1292, allocations: 29.83 kB / 494.5 MB, free: 4.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.1293, allocations: 234.8 kB / 494.7 MB, free: 4.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.062e-05/0.1293, allocations: 7.984 kB / 494.7 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.1294, allocations: 57.52 kB / 494.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1296, allocations: 334.8 kB / 495.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1297, allocations: 63.97 kB / 495.2 MB, free: 4.102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.1298, allocations: 89.69 kB / 495.3 MB, free: 4.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.13, allocations: 129.6 kB / 495.4 MB, free: 3.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.13, allocations: 0 / 495.4 MB, free: 3.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000356/0.1304, allocations: 233.9 kB / 495.6 MB, free: 3.641 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1304, allocations: 7.938 kB / 495.6 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1304, allocations: 4 kB / 495.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1304, allocations: 0 / 495.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.1307, allocations: 55.89 kB / 495.7 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.1307, allocations: 4 kB / 495.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.131, allocations: 47.55 kB / 495.7 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.131, allocations: 12 kB / 495.8 MB, free: 3.512 MB / 378.7 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.0001105/0.1311, allocations: 137.7 kB / 495.9 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.1312, allocations: 27.66 kB / 495.9 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.1312, allocations: 20.89 kB / 495.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1312, allocations: 0 / 495.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.1312, allocations: 4 kB / 495.9 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1312, allocations: 0 / 495.9 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005577/0.1318, allocations: 0.5071 MB / 496.4 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1318, allocations: 4 kB / 496.5 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.1319, allocations: 0 / 496.5 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1319, allocations: 4 kB / 496.5 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1319, allocations: 7.984 kB / 496.5 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1319, allocations: 0 / 496.5 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1319, allocations: 0 / 496.5 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.1323, allocations: 0.683 MB / 497.1 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.1324, allocations: 104.8 kB / 497.2 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.1324, allocations: 0 / 497.2 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1325, allocations: 0 / 497.2 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.1325, allocations: 11.88 kB / 497.3 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1325, allocations: 4.031 kB / 497.3 MB, free: 1.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002396/0.1328, allocations: 225.9 kB / 497.5 MB, free: 1.625 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1328, allocations: 0 / 497.5 MB, free: 1.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003617/0.1332, allocations: 63.84 kB / 497.5 MB, free: 1.562 MB / 378.7 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.517e-05/0.1333, allocations: 95.23 kB / 497.6 MB, free: 1.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.1335, allocations: 120.1 kB / 497.8 MB, free: 1.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1335, allocations: 0 / 497.8 MB, free: 1.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.495e-05/0.1335, allocations: 16.06 kB / 497.8 MB, free: 1.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1338, allocations: 20.83 kB / 497.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006931/0.1345, allocations: 0.5744 MB / 498.4 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1348, allocations: 0.7444 MB / 499.1 MB, free: 15.92 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.135, allocations: 25.92 kB / 499.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.135, allocations: 19.38 kB / 499.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.135, allocations: 4 kB / 499.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of Templates: time 0.00422/0.1393, allocations: 1.723 MB / 0.4891 GB, free: 14.15 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches