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.00159/0.00159, allocations: 115.9 kB / 17.08 MB, free: 5.832 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.001937/0.001937, allocations: 194.4 kB / 18.01 MB, free: 4.965 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.41/1.41, 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.2139/0.2139, allocations: 43.52 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.001407/0.001407, allocations: 67.89 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1222, 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.004206/0.1264, allocations: 2.306 MB / 0.4908 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.128, allocations: 0.6593 MB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.1283, allocations: 7.938 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.1284, allocations: 39.58 kB / 0.4915 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.1288, allocations: 67.34 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.1292, allocations: 87.88 kB / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.1297, allocations: 347.2 kB / 0.4919 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.13, allocations: 163.4 kB / 0.4921 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.1303, allocations: 135.6 kB / 0.4922 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.1306, allocations: 155.4 kB / 0.4924 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.243e-05/0.1307, allocations: 36 kB / 0.4924 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.967e-05/0.1308, allocations: 32 kB / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.1309, allocations: 75.75 kB / 0.4925 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.1311, allocations: 155.3 kB / 0.4927 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.1315, allocations: 378.7 kB / 0.493 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1315, allocations: 0 / 0.493 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1315, allocations: 0 / 0.493 GB, free: 7.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1315, allocations: 0 / 0.493 GB, free: 7.199 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.001097/0.1326, allocations: 0.5773 MB / 0.4936 GB, free: 6.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1327, allocations: 11.89 kB / 0.4936 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.1328, allocations: 32.56 kB / 0.4936 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.133, allocations: 203.7 kB / 0.4938 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.133, allocations: 25.03 kB / 0.4938 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.1331, allocations: 28.38 kB / 0.4939 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.1336, allocations: 282.4 kB / 0.4941 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1337, allocations: 0 / 0.4941 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.1337, allocations: 12 kB / 0.4942 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.1337, allocations: 8 kB / 0.4942 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004266/0.1342, allocations: 214.5 kB / 0.4944 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.1359, allocations: 1.017 MB / 0.4954 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.728e-05/0.136, allocations: 38.58 kB / 0.4954 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.136, allocations: 24.86 kB / 0.4954 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.136, allocations: 3.984 kB / 0.4954 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1361, allocations: 38.48 kB / 0.4955 GB, free: 4.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.1361, allocations: 4 kB / 0.4955 GB, free: 4.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002304/0.1363, allocations: 73.36 kB / 0.4955 GB, free: 4.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1364, allocations: 51.41 kB / 0.4956 GB, free: 4.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.1367, allocations: 322.8 kB / 0.4959 GB, free: 4.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1368, allocations: 25.7 kB / 0.4959 GB, free: 4.031 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.1369, allocations: 230.8 kB / 0.4961 GB, free: 3.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.137, allocations: 4 kB / 0.4961 GB, free: 3.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-05/0.1371, allocations: 61.5 kB / 0.4962 GB, free: 3.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1372, allocations: 335 kB / 0.4965 GB, free: 3.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.1373, allocations: 67.97 kB / 0.4966 GB, free: 3.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1375, allocations: 82.17 kB / 0.4967 GB, free: 3.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.1377, allocations: 134.9 kB / 0.4968 GB, free: 3.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1377, allocations: 0 / 0.4968 GB, free: 3.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003997/0.1381, allocations: 225.4 kB / 0.497 GB, free: 2.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1382, allocations: 12.03 kB / 0.497 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1382, allocations: 3.938 kB / 0.497 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1382, allocations: 0 / 0.497 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.1385, allocations: 55.89 kB / 0.4971 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.1385, allocations: 7.984 kB / 0.4971 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.1388, allocations: 39.53 kB / 0.4971 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1388, allocations: 12 kB / 0.4971 GB, free: 2.75 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.0001417/0.139, allocations: 133.8 kB / 0.4973 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.1391, allocations: 27.72 kB / 0.4973 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.1391, allocations: 28.77 kB / 0.4973 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1391, allocations: 0 / 0.4973 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1391, allocations: 3.938 kB / 0.4973 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1392, allocations: 4 kB / 0.4973 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/0.1399, allocations: 0.4955 MB / 0.4978 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1399, allocations: 0 / 0.4978 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.1399, allocations: 7.938 kB / 0.4978 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1399, allocations: 4.062 kB / 0.4978 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1399, allocations: 4 kB / 0.4978 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1399, allocations: 0 / 0.4978 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.14, allocations: 0 / 0.4978 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.1401, allocations: 105.6 kB / 0.4979 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.1402, allocations: 96.91 kB / 0.498 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.1402, allocations: 4.031 kB / 0.498 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1404, allocations: 0 / 0.498 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.1404, allocations: 7.938 kB / 0.498 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1404, allocations: 3.984 kB / 0.498 GB, free: 1.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002445/0.1406, allocations: 218 kB / 0.4982 GB, free: 1.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1407, allocations: 0 / 0.4982 GB, free: 1.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.1409, allocations: 71.69 kB / 0.4983 GB, free: 1.426 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 9.676e-05/0.141, allocations: 95.25 kB / 0.4984 GB, free: 1.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.1413, allocations: 119.9 kB / 0.4985 GB, free: 1.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1413, allocations: 0 / 0.4985 GB, free: 1.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.305e-05/0.1414, allocations: 8 kB / 0.4985 GB, free: 1.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.1417, allocations: 27.48 kB / 0.4985 GB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.1424, allocations: 405.2 kB / 0.4989 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.1427, allocations: 0.744 MB / 0.4997 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.1428, allocations: 19.44 kB / 0.4997 GB, free: 15.96 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1428, allocations: 0 / 0.4997 GB, free: 15.96 MB / 398.1 MB Notification: Performance of Templates: time 0.005293/0.1481, allocations: 2.714 MB / 0.5023 GB, free: 13.24 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