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.002154/0.002159, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 92.09 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.309/0.309, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.781e-05/1.779e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4183, allocations: 58.84 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1583/0.5766, allocations: 86.97 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.577, allocations: 71.95 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01759/0.5946, allocations: 4.156 MB / 0.555 GB, free: 8.113 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5946, allocations: 0 / 0.555 GB, free: 8.113 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.5947, allocations: 8 kB / 0.555 GB, free: 8.105 MB / 395.1 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.001061/0.5957, allocations: 0.5101 MB / 0.5555 GB, free: 7.555 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.5958, allocations: 12.03 kB / 0.5555 GB, free: 7.543 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.5959, allocations: 31.62 kB / 0.5555 GB, free: 7.512 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.5962, allocations: 198.5 kB / 0.5557 GB, free: 7.281 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.5963, allocations: 20.77 kB / 0.5557 GB, free: 7.262 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.5964, allocations: 20 kB / 0.5557 GB, free: 7.242 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005779/0.597, allocations: 181.5 kB / 0.5559 GB, free: 7.066 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.5976, allocations: 226.2 kB / 0.5561 GB, free: 6.836 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.5977, allocations: 0 / 0.5561 GB, free: 6.836 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.5977, allocations: 0 / 0.5561 GB, free: 6.836 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.5977, allocations: 12 kB / 0.5561 GB, free: 6.824 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.6003, allocations: 0.9461 MB / 0.5571 GB, free: 5.832 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.768e-05/0.6005, allocations: 34.56 kB / 0.5571 GB, free: 5.789 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.715e-05/0.6006, allocations: 24.92 kB / 0.5571 GB, free: 5.762 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.6006, allocations: 0 / 0.5571 GB, free: 5.762 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.6006, allocations: 38.56 kB / 0.5571 GB, free: 5.715 MB / 395.1 MB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.6006, allocations: 3.938 kB / 0.5571 GB, free: 5.711 MB / 395.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002196/0.6009, allocations: 53.52 kB / 0.5572 GB, free: 5.652 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.6009, allocations: 51.41 kB / 0.5572 GB, free: 5.59 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.6013, allocations: 225.9 kB / 0.5575 GB, free: 5.363 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.6013, allocations: 29.73 kB / 0.5575 GB, free: 5.328 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.6016, allocations: 309.2 kB / 0.5578 GB, free: 5.02 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.6016, allocations: 11.89 kB / 0.5578 GB, free: 5.008 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.6016, allocations: 3.938 kB / 0.5578 GB, free: 5.004 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6018, allocations: 333.2 kB / 0.5581 GB, free: 4.672 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.6019, allocations: 48 kB / 0.5582 GB, free: 4.625 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.6021, allocations: 85.7 kB / 0.5582 GB, free: 4.535 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.6023, allocations: 63.97 kB / 0.5583 GB, free: 4.473 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.6024, allocations: 3.953 kB / 0.5583 GB, free: 4.469 MB / 395.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005027/0.6029, allocations: 189.5 kB / 0.5585 GB, free: 4.277 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.6029, allocations: 4 kB / 0.5585 GB, free: 4.273 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6029, allocations: 0 / 0.5585 GB, free: 4.273 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.603, allocations: 4 kB / 0.5585 GB, free: 4.27 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/0.6036, allocations: 55.91 kB / 0.5586 GB, free: 4.215 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.6036, allocations: 0 / 0.5586 GB, free: 4.215 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/0.604, allocations: 39.52 kB / 0.5586 GB, free: 4.176 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.6041, allocations: 8.031 kB / 0.5586 GB, free: 4.168 MB / 395.1 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 () * 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.0001077/0.6042, allocations: 112.9 kB / 0.5587 GB, free: 4.051 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.6042, allocations: 15.81 kB / 0.5587 GB, free: 4.035 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.6043, allocations: 21.17 kB / 0.5587 GB, free: 4.02 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6043, allocations: 0 / 0.5587 GB, free: 4.02 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6043, allocations: 0 / 0.5587 GB, free: 4.02 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.6044, allocations: 4 kB / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008639/0.6052, allocations: 471.9 kB / 0.5592 GB, free: 3.504 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6053, allocations: 3.984 kB / 0.5592 GB, free: 3.5 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.6053, allocations: 4 kB / 0.5592 GB, free: 3.496 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.6053, allocations: 0 / 0.5592 GB, free: 3.496 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.6054, allocations: 4 kB / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.6054, allocations: 0 / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6054, allocations: 0 / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.6056, allocations: 103.5 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.6057, allocations: 96.91 kB / 0.5594 GB, free: 3.25 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.6058, allocations: 0 / 0.5594 GB, free: 3.25 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.6059, allocations: 7.984 kB / 0.5594 GB, free: 3.242 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.606, allocations: 0 / 0.5594 GB, free: 3.242 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.606, allocations: 0 / 0.5594 GB, free: 3.242 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.6062, allocations: 172.6 kB / 0.5596 GB, free: 3.074 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.883e-06/0.6063, allocations: 8.031 kB / 0.5596 GB, free: 3.066 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004059/0.6067, allocations: 67.69 kB / 0.5596 GB, free: 3 MB / 395.1 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 () * 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.0001266/0.6068, allocations: 95.14 kB / 0.5597 GB, free: 2.895 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.6071, allocations: 99.92 kB / 0.5598 GB, free: 2.797 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6072, allocations: 4 kB / 0.5598 GB, free: 2.793 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 3.675e-05/0.6072, allocations: 8 kB / 0.5598 GB, free: 2.785 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.6075, allocations: 20.61 kB / 0.5599 GB, free: 2.762 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007803/0.6083, allocations: 253 kB / 0.5601 GB, free: 2.484 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.6087, allocations: 0.7514 MB / 0.5608 GB, free: 1.707 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.6088, allocations: 19.44 kB / 0.5609 GB, free: 1.688 MB / 395.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6088, allocations: 0 / 0.5609 GB, free: 1.688 MB / 395.1 MB Notification: Performance of Templates: time 0.00664/0.6155, allocations: 2.424 MB / 0.5632 GB, free: 15.27 MB / 411.1 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