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.0008862/0.0008864, allocations: 176.9 kB / 16.72 MB, free: 4.961 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.273/1.273, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0008605/0.0008606, allocations: 86.42 kB / 271.2 MB, free: 8.238 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.3484/0.3484, allocations: 43.58 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004082, allocations: 12 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.129, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002406/0.1315, allocations: 1.922 MB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.1324, allocations: 0.6244 MB / 493.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.1325, allocations: 4 kB / 493.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.374e-05/0.1326, allocations: 31.7 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.1328, allocations: 55.53 kB / 493.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.133, allocations: 67.91 kB / 493.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.1333, allocations: 315.2 kB / 493.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.1336, allocations: 135.9 kB / 494 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1338, allocations: 107.6 kB / 494.1 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.134, allocations: 135.4 kB / 494.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.134, allocations: 16 kB / 494.2 MB, free: 7.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-05/0.1341, allocations: 19.94 kB / 494.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.1341, allocations: 51.77 kB / 494.3 MB, free: 7.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1343, allocations: 153.1 kB / 494.4 MB, free: 7.004 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.1345, allocations: 279.5 kB / 494.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1345, allocations: 0 / 494.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1346, allocations: 0 / 494.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1346, allocations: 0 / 494.7 MB, free: 6.73 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.0009059/0.1355, allocations: 0.5304 MB / 495.2 MB, free: 6.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1355, allocations: 12.03 kB / 495.2 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.1356, allocations: 32.56 kB / 495.3 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.1358, allocations: 203.8 kB / 495.5 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.1359, allocations: 25.22 kB / 495.5 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.136, allocations: 32.38 kB / 495.5 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.1365, allocations: 278.2 kB / 495.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1365, allocations: 4 kB / 495.8 MB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.1365, allocations: 16 kB / 495.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.1366, allocations: 8 kB / 495.8 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004009/0.137, allocations: 214.5 kB / 496 MB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.1387, allocations: 1.032 MB / 497.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.418e-05/0.1387, allocations: 34.58 kB / 497.1 MB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.376e-05/0.1388, allocations: 28.91 kB / 497.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.1388, allocations: 3.984 kB / 497.1 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.1389, allocations: 34.5 kB / 497.2 MB, free: 4.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1389, allocations: 4 kB / 497.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002184/0.1391, allocations: 73.36 kB / 497.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.1391, allocations: 59.53 kB / 497.3 MB, free: 3.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.1395, allocations: 318.8 kB / 497.6 MB, free: 3.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1396, allocations: 25.7 kB / 497.6 MB, free: 3.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1397, allocations: 230.8 kB / 497.9 MB, free: 3.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.1397, allocations: 19.83 kB / 497.9 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.1398, allocations: 4 kB / 497.9 MB, free: 3.336 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1399, allocations: 330.8 kB / 498.2 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.14, allocations: 67.97 kB / 498.3 MB, free: 2.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.1402, allocations: 93.67 kB / 498.4 MB, free: 2.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.1404, allocations: 117.6 kB / 498.5 MB, free: 2.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1404, allocations: 0 / 498.5 MB, free: 2.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003782/0.1408, allocations: 237.9 kB / 498.7 MB, free: 2.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1408, allocations: 11.94 kB / 498.7 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1408, allocations: 4.031 kB / 498.7 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1409, allocations: 0 / 498.7 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.1411, allocations: 55.91 kB / 498.8 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1411, allocations: 0 / 498.8 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.1414, allocations: 43.52 kB / 498.8 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.1414, allocations: 12 kB / 498.8 MB, free: 2.355 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.0001181/0.1415, allocations: 125.8 kB / 499 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.1416, allocations: 23.66 kB / 499 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.1416, allocations: 28.89 kB / 499 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1416, allocations: 0 / 499 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1416, allocations: 3.938 kB / 499 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1416, allocations: 0 / 499 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/0.1422, allocations: 0.515 MB / 499.5 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1422, allocations: 0 / 499.5 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.1423, allocations: 7.938 kB / 499.5 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1423, allocations: 4.062 kB / 499.5 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1423, allocations: 0 / 499.5 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1423, allocations: 4 kB / 499.6 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1423, allocations: 0 / 499.6 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.1424, allocations: 97.64 kB / 499.6 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.1425, allocations: 104.8 kB / 499.8 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1426, allocations: 0 / 499.8 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.748e-05/0.1427, allocations: 4.031 kB / 499.8 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.1427, allocations: 8 kB / 499.8 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1427, allocations: 0 / 499.8 MB, free: 1.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002439/0.1429, allocations: 221.9 kB / 500 MB, free: 1.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.613e-06/0.143, allocations: 0 / 500 MB, free: 1.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002544/0.1432, allocations: 75.72 kB / 0.4883 GB, free: 1.031 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 8.888e-05/0.1433, allocations: 91.23 kB / 0.4884 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.1436, allocations: 128.1 kB / 0.4885 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1436, allocations: 0 / 0.4885 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.227e-05/0.1436, allocations: 8 kB / 0.4886 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.1439, allocations: 24.83 kB / 0.4886 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006536/0.1446, allocations: 478.2 kB / 0.489 GB, free: 276 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1953/0.3399, allocations: 0.7413 MB / 0.4898 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.34, allocations: 19.86 kB / 0.4898 GB, free: 42.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.34, allocations: 0 / 0.4898 GB, free: 42.6 MB / 378.7 MB Notification: Performance of Templates: time 0.0051/0.3451, allocations: 2.639 MB / 0.4924 GB, free: 42.49 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/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_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches