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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.687/1.687, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009281/0.000928, allocations: 90.86 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2517/0.2517, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1609, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4715/0.6326, allocations: 87.72 MB / 0.5644 GB, free: 12.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.6328, allocations: 71.02 kB / 0.5645 GB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01082/0.6437, allocations: 4.176 MB / 0.5686 GB, free: 8.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6437, allocations: 3.5 kB / 0.5686 GB, free: 8.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.6438, allocations: 8 kB / 0.5686 GB, free: 8.469 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.0008395/0.6446, allocations: 0.5235 MB / 0.5691 GB, free: 7.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6447, allocations: 8.031 kB / 0.5691 GB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.936e-05/0.6447, allocations: 35.61 kB / 0.5691 GB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.6449, allocations: 198.6 kB / 0.5693 GB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.6451, allocations: 31.16 kB / 0.5693 GB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.6452, allocations: 34.31 kB / 0.5694 GB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.6456, allocations: 275.1 kB / 0.5696 GB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.6457, allocations: 0 / 0.5696 GB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.6457, allocations: 8.875 kB / 0.5697 GB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.6457, allocations: 8 kB / 0.5697 GB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.6461, allocations: 222.8 kB / 0.5699 GB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.6479, allocations: 1.038 MB / 0.5709 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.366e-05/0.648, allocations: 29.52 kB / 0.5709 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.648, allocations: 0 / 0.5709 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.648, allocations: 38.62 kB / 0.571 GB, free: 6.297 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.648, allocations: 0 / 0.571 GB, free: 6.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002131/0.6482, allocations: 76.61 kB / 0.571 GB, free: 6.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.6483, allocations: 55.39 kB / 0.5711 GB, free: 6.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.6486, allocations: 291 kB / 0.5714 GB, free: 5.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.6487, allocations: 25.7 kB / 0.5714 GB, free: 5.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.6488, allocations: 235.5 kB / 0.5716 GB, free: 5.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.6489, allocations: 8.125 kB / 0.5716 GB, free: 5.684 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.6489, allocations: 6.875 kB / 0.5716 GB, free: 5.684 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.6491, allocations: 333.8 kB / 0.5719 GB, free: 5.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.6492, allocations: 61.03 kB / 0.572 GB, free: 5.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.6494, allocations: 92.86 kB / 0.5721 GB, free: 5.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.6496, allocations: 78.69 kB / 0.5722 GB, free: 5.203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6496, allocations: 4 kB / 0.5722 GB, free: 5.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003881/0.65, allocations: 229 kB / 0.5724 GB, free: 5.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.65, allocations: 10.66 kB / 0.5724 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.6501, allocations: 0 / 0.5724 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.6501, allocations: 0 / 0.5724 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.6504, allocations: 63.2 kB / 0.5725 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.6504, allocations: 0 / 0.5725 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.6506, allocations: 42.91 kB / 0.5725 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.6507, allocations: 12.02 kB / 0.5725 GB, free: 4.91 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.0001378/0.6508, allocations: 139.1 kB / 0.5726 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.6509, allocations: 27.09 kB / 0.5727 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.6509, allocations: 19.45 kB / 0.5727 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6509, allocations: 0 / 0.5727 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6509, allocations: 4 kB / 0.5727 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6509, allocations: 0 / 0.5727 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005902/0.6515, allocations: 0.5072 MB / 0.5732 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6516, allocations: 4 kB / 0.5732 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.6516, allocations: 0 / 0.5732 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.6516, allocations: 7.938 kB / 0.5732 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.6516, allocations: 0 / 0.5732 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.6516, allocations: 0 / 0.5732 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.6516, allocations: 0 / 0.5732 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.6518, allocations: 124.9 kB / 0.5733 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/0.6519, allocations: 96.78 kB / 0.5734 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.6519, allocations: 0 / 0.5734 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.652, allocations: 11.98 kB / 0.5734 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.652, allocations: 3.953 kB / 0.5734 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.6521, allocations: 3.938 kB / 0.5734 GB, free: 3.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002539/0.6523, allocations: 225.9 kB / 0.5736 GB, free: 3.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6523, allocations: 4.031 kB / 0.5736 GB, free: 3.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002805/0.6526, allocations: 70.61 kB / 0.5737 GB, free: 3.695 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.0001341/0.6527, allocations: 91.25 kB / 0.5738 GB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.653, allocations: 109.4 kB / 0.5739 GB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6531, allocations: 0 / 0.5739 GB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.6531, allocations: 15.31 kB / 0.5739 GB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.6534, allocations: 26.75 kB / 0.5739 GB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000829/0.6542, allocations: 449.9 kB / 0.5744 GB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.6546, allocations: 0.7521 MB / 0.5751 GB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.6548, allocations: 17.95 kB / 0.5751 GB, free: 2.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.6548, allocations: 19.44 kB / 0.5751 GB, free: 2.223 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6548, allocations: 0 / 0.5751 GB, free: 2.223 MB / 378.7 MB Notification: Performance of Templates: time 0.004561/0.6594, allocations: 1.602 MB / 0.5767 GB, free: 0.6367 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.makefile (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) 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