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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 88.2 kB / 20.94 MB, free: 3.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000908/0.000908, allocations: 173 kB / 24.25 MB, free: 304 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.079/1.079, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1363/0.1363, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 347.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.191e-05, allocations: 6.312 kB / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002151/0.002183, allocations: 2.318 MB / 350 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007776/0.00296, allocations: 0.6515 MB / 350.6 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.003048, allocations: 4 kB / 350.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.424e-05/0.003113, allocations: 39.58 kB / 350.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.003246, allocations: 71.34 kB / 350.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.003459, allocations: 99.73 kB / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.003651, allocations: 354.9 kB / 351.2 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.003857, allocations: 107.8 kB / 351.3 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.004067, allocations: 211.6 kB / 351.5 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.004197, allocations: 111.7 kB / 351.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.004234, allocations: 32 kB / 351.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.649e-05/0.004261, allocations: 36 kB / 351.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.004299, allocations: 71.73 kB / 351.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.004365, allocations: 107.8 kB / 351.8 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.004547, allocations: 235.2 kB / 352.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.00455, allocations: 7.922 kB / 352.1 MB, free: 5.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004551, allocations: 0 / 352.1 MB, free: 5.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.004556, allocations: 0 / 352.1 MB, free: 5.34 MB / 282.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.0005747/0.005131, allocations: 0.6171 MB / 352.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.005175, allocations: 8.031 kB / 352.7 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.534e-05/0.00525, allocations: 52.75 kB / 352.8 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.005359, allocations: 156.1 kB / 352.9 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.005382, allocations: 21.03 kB / 352.9 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.005408, allocations: 32.38 kB / 353 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.005673, allocations: 227.3 kB / 353.2 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.005682, allocations: 192 / 353.2 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.005708, allocations: 12.38 kB / 353.2 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.005718, allocations: 7.938 kB / 353.2 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.005919, allocations: 127.8 kB / 353.3 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.006932, allocations: 0.8694 MB / 354.2 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.447e-05/0.006987, allocations: 35 kB / 354.2 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.00702, allocations: 19.73 kB / 354.3 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.007028, allocations: 0 / 354.3 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.007044, allocations: 41.39 kB / 354.3 MB, free: 2.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.007045, allocations: 0 / 354.3 MB, free: 2.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.007184, allocations: 49.55 kB / 354.3 MB, free: 2.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.007203, allocations: 55.41 kB / 354.4 MB, free: 2.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.00735, allocations: 306.6 kB / 354.7 MB, free: 2.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.007356, allocations: 25.7 kB / 354.7 MB, free: 2.523 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.007429, allocations: 294.1 kB / 355 MB, free: 2.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.217e-06/0.007438, allocations: 15.94 kB / 355 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.007491, allocations: 67.44 kB / 355.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.007537, allocations: 0.4962 MB / 355.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.051e-05/0.007587, allocations: 35.97 kB / 355.6 MB, free: 1.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.007656, allocations: 63.34 kB / 355.7 MB, free: 1.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.933e-05/0.007746, allocations: 88.61 kB / 355.8 MB, free: 1.434 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.007748, allocations: 3.938 kB / 355.8 MB, free: 1.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001769/0.007925, allocations: 177.6 kB / 355.9 MB, free: 1.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.007936, allocations: 4 kB / 356 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.007942, allocations: 4 kB / 356 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.007955, allocations: 8.016 kB / 356 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.008105, allocations: 55.91 kB / 356 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.008111, allocations: 4 kB / 356 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.351e-05/0.008205, allocations: 31.67 kB / 356.1 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.008216, allocations: 15.98 kB / 356.1 MB, free: 1.129 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.008271, allocations: 160.5 kB / 356.2 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.00829, allocations: 15.91 kB / 356.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.008314, allocations: 16.66 kB / 356.3 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.008316, allocations: 3.984 kB / 356.3 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.008321, allocations: 4 kB / 356.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.008325, allocations: 7.938 kB / 356.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.008593, allocations: 0.5038 MB / 356.8 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.008596, allocations: 3.984 kB / 356.8 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/0.008609, allocations: 4 kB / 356.8 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008611, allocations: 0 / 356.8 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.008617, allocations: 0 / 356.8 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.008619, allocations: 3.938 kB / 356.8 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.00862, allocations: 0 / 356.8 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.199e-05/0.008682, allocations: 95.98 kB / 356.9 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.008703, allocations: 27.98 kB / 356.9 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.00872, allocations: 0 / 356.9 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.008761, allocations: 11.86 kB / 356.9 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.008776, allocations: 4 kB / 356.9 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.008778, allocations: 0 / 356.9 MB, free: 184 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.008882, allocations: 203.4 kB / 357.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008882, allocations: 0 / 357.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000172/0.009054, allocations: 71.78 kB / 357.2 MB, free: 15.91 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.599e-05/0.00912, allocations: 91.25 kB / 357.3 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.009267, allocations: 91.58 kB / 357.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.00927, allocations: 3.938 kB / 357.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.944e-05/0.009289, allocations: 11.69 kB / 357.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.009483, allocations: 24.67 kB / 357.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.009958, allocations: 374.2 kB / 357.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.277e-05/0.01, allocations: 79.97 kB / 357.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.369e-05/0.01006, allocations: 25.56 kB / 357.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.0101, allocations: 12.5 kB / 357.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.0101, allocations: 0 / 357.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of Templates: time 0.003197/0.0133, allocations: 1.6 MB / 359.5 MB, free: 13.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.223055020906031]