Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001625/0.001629, allocations: 182.6 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.236/2.236, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001127/0.001127, allocations: 94.86 kB / 270.9 MB, free: 8.359 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.5276/0.5276, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006529/0.000653, allocations: 16 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1332, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003334/0.1366, allocations: 1.81 MB / 492 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1383, allocations: 0.6362 MB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1385, allocations: 4 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.147e-05/0.1386, allocations: 31.77 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.1389, allocations: 75.77 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1392, allocations: 63.92 kB / 492.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.1396, allocations: 220 kB / 493 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.1399, allocations: 126.8 kB / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.1402, allocations: 111.6 kB / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.1406, allocations: 127.4 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.1406, allocations: 16 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.1407, allocations: 16 kB / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.68e-05/0.1408, allocations: 47.83 kB / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1409, allocations: 85.45 kB / 493.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.1413, allocations: 271.5 kB / 493.8 MB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1414, allocations: 4 kB / 493.8 MB, free: 7.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1414, allocations: 0 / 493.8 MB, free: 7.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1414, allocations: 4 kB / 493.8 MB, free: 7.582 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.00127/0.1427, allocations: 0.5342 MB / 494.4 MB, free: 7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1427, allocations: 8.031 kB / 494.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.937e-05/0.1428, allocations: 39.58 kB / 494.4 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.1431, allocations: 198.5 kB / 494.6 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.1433, allocations: 32.59 kB / 494.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.709e-05/0.1433, allocations: 28 kB / 494.7 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007854/0.1441, allocations: 274.1 kB / 494.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1442, allocations: 4 kB / 494.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.1442, allocations: 8 kB / 494.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.1443, allocations: 8 kB / 495 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007213/0.145, allocations: 230.4 kB / 495.2 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/0.1478, allocations: 1.024 MB / 496.2 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.148, allocations: 30.58 kB / 496.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.148, allocations: 4.062 kB / 496.2 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.148, allocations: 38.5 kB / 496.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.925e-06/0.148, allocations: 0 / 496.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003021/0.1483, allocations: 73.5 kB / 496.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.1484, allocations: 55.36 kB / 496.4 MB, free: 4.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/0.1491, allocations: 318.9 kB / 496.7 MB, free: 4.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1491, allocations: 25.7 kB / 496.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.1493, allocations: 289.4 kB / 497 MB, free: 4.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.1494, allocations: 11.91 kB / 497 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.1494, allocations: 4 kB / 497 MB, free: 4.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1496, allocations: 318.8 kB / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.1498, allocations: 67.97 kB / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.1501, allocations: 93.67 kB / 497.5 MB, free: 3.684 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.1504, allocations: 75.94 kB / 497.6 MB, free: 3.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.1504, allocations: 4 kB / 497.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000678/0.1511, allocations: 229.5 kB / 497.8 MB, free: 3.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1511, allocations: 4 kB / 497.8 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1512, allocations: 0 / 497.8 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1512, allocations: 4 kB / 497.8 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/0.1517, allocations: 51.91 kB / 497.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.1518, allocations: 3.953 kB / 497.9 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.1523, allocations: 47.52 kB / 497.9 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.1523, allocations: 12.03 kB / 497.9 MB, free: 3.254 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002136/0.1525, allocations: 137.8 kB / 498.1 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.1526, allocations: 23.66 kB / 498.1 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.1527, allocations: 24.89 kB / 498.1 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1527, allocations: 0 / 498.1 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1527, allocations: 0 / 498.1 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.1527, allocations: 3.953 kB / 498.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009626/0.1537, allocations: 0.5111 MB / 498.6 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1537, allocations: 0 / 498.6 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.598e-05/0.1538, allocations: 4 kB / 498.6 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1538, allocations: 0 / 498.6 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1538, allocations: 3.953 kB / 498.6 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1538, allocations: 0 / 498.6 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1539, allocations: 0 / 498.6 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.1541, allocations: 119.4 kB / 498.7 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1542, allocations: 100.8 kB / 498.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.1543, allocations: 3.953 kB / 498.9 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.1545, allocations: 4 kB / 498.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.1545, allocations: 0 / 498.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1545, allocations: 4 kB / 498.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004219/0.155, allocations: 230 kB / 499.1 MB, free: 1.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.155, allocations: 0 / 499.1 MB, free: 1.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004083/0.1554, allocations: 63.84 kB / 499.1 MB, free: 1.914 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 (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 0.0001353/0.1556, allocations: 95.19 kB / 499.2 MB, free: 1.812 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004265/0.156, allocations: 116.6 kB / 499.4 MB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.156, allocations: 4 kB / 499.4 MB, free: 1.695 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.1561, allocations: 7.938 kB / 499.4 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1564, allocations: 29.02 kB / 499.4 MB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1575, allocations: 474 kB / 499.9 MB, free: 1.156 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.1579, allocations: 0.7482 MB / 0.4889 GB, free: 392 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.1581, allocations: 19.44 kB / 0.4889 GB, free: 372 kB / 378.7 MB Notification: Performance of SimCode: time 3.196e-06/0.1581, allocations: 0 / 0.4889 GB, free: 372 kB / 378.7 MB Notification: Performance of Templates: time 0.3165/0.4746, allocations: 2.623 MB / 0.4915 GB, free: 42.55 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches