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.00106/0.00106, allocations: 97.3 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 174.8 kB / 16.57 MB, free: 6.391 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.652/1.652, allocations: 205.4 MB / 222.7 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3422/0.3422, allocations: 43.55 MB / 314.5 MB, free: 8.617 MB / 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.0005539/0.0005542, allocations: 12 kB / 383.9 MB, free: 8.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1234, allocations: 58.86 MB / 442.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002116/0.1256, allocations: 1.811 MB / 444.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1266, allocations: 0.6441 MB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1268, allocations: 4 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.019e-05/0.1268, allocations: 23.78 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.127, allocations: 71.83 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.1272, allocations: 67.86 kB / 445.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.1275, allocations: 220 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.1277, allocations: 118.8 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.1279, allocations: 119.6 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1281, allocations: 127.5 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1281, allocations: 16 kB / 446 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.681e-05/0.1281, allocations: 16 kB / 446 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.1282, allocations: 47.83 kB / 446 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.576e-05/0.1283, allocations: 77.58 kB / 446.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.1285, allocations: 279.4 kB / 446.4 MB, free: 9.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.1285, allocations: 0 / 446.4 MB, free: 9.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1285, allocations: 0 / 446.4 MB, free: 9.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1285, allocations: 0 / 446.4 MB, free: 9.461 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.0007591/0.1293, allocations: 0.5303 MB / 446.9 MB, free: 8.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.1293, allocations: 11.97 kB / 446.9 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.1294, allocations: 39.52 kB / 446.9 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.1296, allocations: 194.8 kB / 447.1 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.245e-05/0.1297, allocations: 32.59 kB / 447.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.1297, allocations: 32 kB / 447.2 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.1302, allocations: 274.1 kB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1302, allocations: 0 / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.1302, allocations: 8 kB / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1302, allocations: 8 kB / 447.5 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.1306, allocations: 222.5 kB / 447.7 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1322, allocations: 1.032 MB / 448.7 MB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.627e-05/0.1322, allocations: 26.58 kB / 448.8 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.1322, allocations: 0 / 448.8 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.1323, allocations: 38.55 kB / 448.8 MB, free: 6.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1323, allocations: 4 kB / 448.8 MB, free: 6.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001654/0.1324, allocations: 69.52 kB / 448.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.1325, allocations: 55.36 kB / 448.9 MB, free: 6.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.1328, allocations: 322.8 kB / 449.2 MB, free: 6.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1328, allocations: 25.7 kB / 449.3 MB, free: 6.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.133, allocations: 234.8 kB / 449.5 MB, free: 6.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.133, allocations: 11.84 kB / 449.5 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.133, allocations: 7.938 kB / 449.5 MB, free: 6.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1331, allocations: 334.9 kB / 449.8 MB, free: 5.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1332, allocations: 63.97 kB / 449.9 MB, free: 5.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1334, allocations: 98.36 kB / 450 MB, free: 5.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1335, allocations: 76 kB / 450.1 MB, free: 5.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1335, allocations: 0 / 450.1 MB, free: 5.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003532/0.1339, allocations: 237.3 kB / 450.3 MB, free: 5.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1339, allocations: 4 kB / 450.3 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1339, allocations: 0 / 450.3 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1339, allocations: 0 / 450.3 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.1342, allocations: 59.91 kB / 450.4 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1342, allocations: 7.938 kB / 450.4 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.1345, allocations: 39.59 kB / 450.4 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1345, allocations: 4 kB / 450.4 MB, free: 5.176 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.1346, allocations: 141.8 kB / 450.6 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.1347, allocations: 19.81 kB / 450.6 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.1347, allocations: 20.89 kB / 450.6 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1347, allocations: 0 / 450.6 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1347, allocations: 4 kB / 450.6 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1347, allocations: 3.953 kB / 450.6 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.1352, allocations: 0.5032 MB / 451.1 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.1353, allocations: 8.062 kB / 451.1 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.1353, allocations: 0 / 451.1 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1353, allocations: 4 kB / 451.1 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1353, allocations: 7.953 kB / 451.1 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1353, allocations: 0 / 451.1 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1353, allocations: 0 / 451.1 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.1354, allocations: 111.5 kB / 451.2 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.178e-05/0.1355, allocations: 104.8 kB / 451.3 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.1356, allocations: 7.891 kB / 451.3 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1357, allocations: 4 kB / 451.3 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.1357, allocations: 3.984 kB / 451.4 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1357, allocations: 0 / 451.4 MB, free: 4.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.1359, allocations: 229.9 kB / 451.6 MB, free: 3.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.136, allocations: 0 / 451.6 MB, free: 3.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1362, allocations: 63.84 kB / 451.6 MB, free: 3.832 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.349e-05/0.1363, allocations: 95.28 kB / 451.7 MB, free: 3.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.1365, allocations: 120.6 kB / 451.9 MB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1366, allocations: 0 / 451.9 MB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.24e-05/0.1366, allocations: 12 kB / 451.9 MB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.1368, allocations: 23.95 kB / 451.9 MB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.1374, allocations: 456.4 kB / 452.3 MB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1377, allocations: 0.7443 MB / 453.1 MB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.1378, allocations: 21.95 kB / 453.1 MB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.1379, allocations: 19.42 kB / 453.1 MB, free: 2.293 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1379, allocations: 0 / 453.1 MB, free: 2.293 MB / 382.1 MB Notification: Performance of Templates: time 0.003745/0.1416, allocations: 1.609 MB / 454.7 MB, free: 0.6875 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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