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.001501/0.001505, allocations: 186.1 kB / 16.4 MB, free: 5.746 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.95/1.95, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001154/0.001153, allocations: 97.97 kB / 270.9 MB, free: 8.363 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.5175/0.5175, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006532/0.0006535, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1249, allocations: 58.86 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.5763, allocations: 87.71 MB / 0.5644 GB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.5766, allocations: 74.34 kB / 0.5645 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01782/0.5944, allocations: 4.189 MB / 0.5685 GB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5945, allocations: 0 / 0.5685 GB, free: 10.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.5945, allocations: 4 kB / 0.5686 GB, free: 10.77 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.001196/0.5957, allocations: 0.5322 MB / 0.5691 GB, free: 10.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.5958, allocations: 8.031 kB / 0.5691 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.5959, allocations: 36.31 kB / 0.5691 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.5961, allocations: 190.3 kB / 0.5693 GB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.5963, allocations: 32.58 kB / 0.5693 GB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/0.5964, allocations: 36 kB / 0.5694 GB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007797/0.5972, allocations: 274.1 kB / 0.5696 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.5972, allocations: 0 / 0.5696 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.5973, allocations: 12 kB / 0.5696 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.5973, allocations: 8 kB / 0.5696 GB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007006/0.598, allocations: 219.5 kB / 0.5699 GB, free: 9.355 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00276/0.6008, allocations: 1.046 MB / 0.5709 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.6009, allocations: 29.64 kB / 0.5709 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.601, allocations: 3.984 kB / 0.5709 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.601, allocations: 30.56 kB / 0.5709 GB, free: 8.184 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 2.956e-06/0.601, allocations: 0 / 0.5709 GB, free: 8.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002965/0.6013, allocations: 81.5 kB / 0.571 GB, free: 8.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.6014, allocations: 51.41 kB / 0.5711 GB, free: 8.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/0.6019, allocations: 290 kB / 0.5713 GB, free: 7.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.602, allocations: 29.7 kB / 0.5714 GB, free: 7.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.6022, allocations: 289.2 kB / 0.5716 GB, free: 7.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.6022, allocations: 7.906 kB / 0.5716 GB, free: 7.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.6023, allocations: 8 kB / 0.5717 GB, free: 7.414 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.6025, allocations: 326.9 kB / 0.572 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.6027, allocations: 59.97 kB / 0.572 GB, free: 7.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.603, allocations: 89.69 kB / 0.5721 GB, free: 6.938 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.6033, allocations: 80.48 kB / 0.5722 GB, free: 6.859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6033, allocations: 0 / 0.5722 GB, free: 6.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006838/0.604, allocations: 221.5 kB / 0.5724 GB, free: 6.637 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.604, allocations: 8 kB / 0.5724 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.6041, allocations: 0 / 0.5724 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.6041, allocations: 0 / 0.5724 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.6047, allocations: 63.81 kB / 0.5725 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.6047, allocations: 3.984 kB / 0.5725 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.6052, allocations: 39.53 kB / 0.5725 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.6052, allocations: 8 kB / 0.5725 GB, free: 6.516 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.000199/0.6054, allocations: 145.7 kB / 0.5727 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.6055, allocations: 23.8 kB / 0.5727 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.6056, allocations: 12.91 kB / 0.5727 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.6056, allocations: 0.5469 kB / 0.5727 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6056, allocations: 4 kB / 0.5727 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.6056, allocations: 7.984 kB / 0.5727 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009489/0.6066, allocations: 0.511 MB / 0.5732 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6066, allocations: 0.5469 kB / 0.5732 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.6067, allocations: 8.062 kB / 0.5732 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.6067, allocations: 0 / 0.5732 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.6067, allocations: 4 kB / 0.5732 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6067, allocations: 0 / 0.5732 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6067, allocations: 448 / 0.5732 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.6069, allocations: 119.4 kB / 0.5733 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.6071, allocations: 100.8 kB / 0.5734 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.6071, allocations: 0 / 0.5734 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.6073, allocations: 11.88 kB / 0.5734 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.6074, allocations: 3.953 kB / 0.5734 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.6074, allocations: 0 / 0.5734 GB, free: 5.453 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000413/0.6078, allocations: 229.9 kB / 0.5737 GB, free: 5.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6078, allocations: 0 / 0.5737 GB, free: 5.227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004065/0.6082, allocations: 63.84 kB / 0.5737 GB, free: 5.164 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.0001118/0.6084, allocations: 95.28 kB / 0.5738 GB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004038/0.6088, allocations: 111.9 kB / 0.5739 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6088, allocations: 0 / 0.5739 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.475e-05/0.6088, allocations: 15.94 kB / 0.5739 GB, free: 4.938 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.6091, allocations: 20.88 kB / 0.574 GB, free: 4.914 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.6102, allocations: 482.2 kB / 0.5744 GB, free: 4.406 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.6106, allocations: 0.7482 MB / 0.5751 GB, free: 3.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.6108, allocations: 23.42 kB / 0.5752 GB, free: 3.613 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6108, allocations: 4 kB / 0.5752 GB, free: 3.609 MB / 394.7 MB Notification: Performance of Templates: time 0.006968/0.6177, allocations: 2.6 MB / 0.5777 GB, free: 1.016 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