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.001407/0.001407, allocations: 181.2 kB / 17.41 MB, free: 4.402 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.588/1.588, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.001114/0.001114, allocations: 93.41 kB / 271.9 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.6354/0.6354, allocations: 43.56 MB / 363.8 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006327/0.0006331, allocations: 16 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2102, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5814/0.7916, allocations: 87.75 MB / 0.5656 GB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004031/0.7921, allocations: 71.95 kB / 0.5657 GB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01763/0.8098, allocations: 4.173 MB / 0.5698 GB, free: 10.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.322e-06/0.8099, allocations: 4 kB / 0.5698 GB, free: 10.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.363e-05/0.8099, allocations: 6.953 kB / 0.5698 GB, free: 10.46 MB / 394.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.001435/0.8114, allocations: 0.5285 MB / 0.5703 GB, free: 9.879 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.8115, allocations: 8.031 kB / 0.5703 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.8117, allocations: 36.56 kB / 0.5703 GB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.812, allocations: 204 kB / 0.5705 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.8122, allocations: 29.97 kB / 0.5706 GB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.8123, allocations: 32.38 kB / 0.5706 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009813/0.8133, allocations: 282.6 kB / 0.5709 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.8133, allocations: 3.938 kB / 0.5709 GB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.928e-05/0.8134, allocations: 16 kB / 0.5709 GB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.8134, allocations: 4 kB / 0.5709 GB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007726/0.8142, allocations: 222.5 kB / 0.5711 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/0.8175, allocations: 1.029 MB / 0.5721 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.8177, allocations: 42.33 kB / 0.5721 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.6e-05/0.8178, allocations: 20.92 kB / 0.5722 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.8178, allocations: 4 kB / 0.5722 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.088e-05/0.8179, allocations: 38.56 kB / 0.5722 GB, free: 7.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 3.887e-06/0.8179, allocations: 0 / 0.5722 GB, free: 7.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003895/0.8183, allocations: 81.28 kB / 0.5723 GB, free: 7.734 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.8184, allocations: 51.41 kB / 0.5723 GB, free: 7.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000697/0.8191, allocations: 318.9 kB / 0.5726 GB, free: 7.355 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.8192, allocations: 25.7 kB / 0.5726 GB, free: 7.324 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.8195, allocations: 234.8 kB / 0.5729 GB, free: 7.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.8195, allocations: 8.031 kB / 0.5729 GB, free: 7.082 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.8195, allocations: 12 kB / 0.5729 GB, free: 7.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.8198, allocations: 330.8 kB / 0.5732 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.82, allocations: 63.97 kB / 0.5733 GB, free: 6.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.8203, allocations: 85.69 kB / 0.5734 GB, free: 6.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.8207, allocations: 130.1 kB / 0.5735 GB, free: 6.457 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8207, allocations: 4 kB / 0.5735 GB, free: 6.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006152/0.8213, allocations: 221.4 kB / 0.5737 GB, free: 6.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.8214, allocations: 9.406 kB / 0.5737 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.8214, allocations: 0 / 0.5737 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.8214, allocations: 3.938 kB / 0.5737 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/0.8219, allocations: 63.89 kB / 0.5738 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.8219, allocations: 0 / 0.5738 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.8224, allocations: 47.52 kB / 0.5738 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.8224, allocations: 8.031 kB / 0.5738 GB, free: 6.102 MB / 394.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.0001948/0.8226, allocations: 133.8 kB / 0.5739 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.8227, allocations: 19.81 kB / 0.574 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.8228, allocations: 20.83 kB / 0.574 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.8228, allocations: 0 / 0.574 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.8228, allocations: 4 kB / 0.574 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8228, allocations: 0 / 0.574 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.8239, allocations: 0.511 MB / 0.5745 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.8239, allocations: 4 kB / 0.5745 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.8239, allocations: 4.422 kB / 0.5745 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.824, allocations: 8 kB / 0.5745 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.824, allocations: 0 / 0.5745 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.824, allocations: 0 / 0.5745 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.824, allocations: 3.938 kB / 0.5745 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.8242, allocations: 105.8 kB / 0.5746 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.8244, allocations: 100.8 kB / 0.5747 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.8244, allocations: 3.984 kB / 0.5747 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.8246, allocations: 4 kB / 0.5747 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.8246, allocations: 3.938 kB / 0.5747 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.8247, allocations: 0 / 0.5747 GB, free: 5.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004055/0.8251, allocations: 225.9 kB / 0.5749 GB, free: 4.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8251, allocations: 4.031 kB / 0.5749 GB, free: 4.848 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004596/0.8256, allocations: 63.84 kB / 0.575 GB, free: 4.785 MB / 394.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.0001357/0.8257, allocations: 99.23 kB / 0.5751 GB, free: 4.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004434/0.8262, allocations: 108.2 kB / 0.5752 GB, free: 4.574 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8262, allocations: 0 / 0.5752 GB, free: 4.574 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.23e-05/0.8262, allocations: 19.92 kB / 0.5752 GB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.8267, allocations: 29.05 kB / 0.5752 GB, free: 4.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.828, allocations: 478 kB / 0.5757 GB, free: 4.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.8284, allocations: 0.7443 MB / 0.5764 GB, free: 3.254 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.8286, allocations: 23.42 kB / 0.5764 GB, free: 3.234 MB / 394.7 MB Notification: Performance of SimCode: time 1.753e-06/0.8286, allocations: 0 / 0.5764 GB, free: 3.234 MB / 394.7 MB Notification: Performance of Templates: time 0.007782/0.8364, allocations: 2.645 MB / 0.579 GB, free: 0.5938 MB / 394.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